Forum und email

GtkOptionMenu::set_menu

void set_menu(GtkWidget menu);

ВНИМАНИЕ! Този метод вече не се използва в PHP-GTK 2 и при писането на нови програми НЕ трябва да бъде използван Set the menu that is popped up.

Provides the GtkMenu that is popped up to allow the user to choose a new value. You should provide a simple menu avoiding the use of tearoff menu items, submenus, and accelerators.

Виж също: get_menu() , remove_menu()