![]() |
![]() |
![]() |
GOffice Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals |
GOOptionMenu; GtkWidget * go_option_menu_get_history (GOOptionMenu *option_menu
); GtkWidget* go_option_menu_new (void
); void go_option_menu_set_history (GOOptionMenu *option_menu
,GSList *selection
); void go_option_menu_set_menu (GOOptionMenu *option_menu
,GtkWidget *menu
);
GObject +----GInitiallyUnowned +----GtkWidget +----GtkContainer +----GtkBin +----GtkButton +----GOOptionMenu
GOOptionMenu implements AtkImplementorIface, GtkBuildable and GtkActivatable.
GtkWidget * go_option_menu_get_history (GOOptionMenu *option_menu
);
Retrieves the currently selected menu item.
|
a GOOptionMenu |
Returns : |
the selected menu_item. [transfer none] |
void go_option_menu_set_history (GOOptionMenu *option_menu
,GSList *selection
);
Selects an item. The last number in the list is the rank of the item to select in its menu and the previous ones are the ranks of the submenus containing the item to select.
|
GOOptionMenu |
|
a list of indices giving the menu to select. [element-type GtkMenuItem] |
void go_option_menu_set_menu (GOOptionMenu *option_menu
,GtkWidget *menu
);
|
|
|
"changed"
signalvoid user_function (GOOptionMenu *gooptionmenu, gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |