Goffice Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals |
Synopsis
GOOptionMenu; GOOptionMenuClass; GtkWidget* go_option_menu_new (void
); void go_option_menu_set_menu (GOOptionMenu *option_menu
,GtkWidget *menu
); void go_option_menu_set_history (GOOptionMenu *option_menu
,GSList *selection
); GtkWidget * go_option_menu_get_history (GOOptionMenu *option_menu
);
Object Hierarchy
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkButton +----GOOptionMenu
Implemented Interfaces
GOOptionMenu implements AtkImplementorIface, GtkBuildable and GtkActivatable.
Details
GOOptionMenuClass
typedef struct { GtkButtonClass parent_class; void (*changed) (GOOptionMenu *option_menu); /* Padding for future expansion */ void (*_gtk_reserved1) (void); void (*_gtk_reserved2) (void); void (*_gtk_reserved3) (void); void (*_gtk_reserved4) (void); } GOOptionMenuClass;
go_option_menu_set_menu ()
void go_option_menu_set_menu (GOOptionMenu *option_menu
,GtkWidget *menu
);
|
|
|
go_option_menu_set_history ()
void go_option_menu_set_history (GOOptionMenu *option_menu
,GSList *selection
);
|
|
|
go_option_menu_get_history ()
GtkWidget * go_option_menu_get_history (GOOptionMenu *option_menu
);
Retrieves the currently selected menu item.
|
a GOOptionMenu |
Returns : |
the selected menu_item |
Signal Details
The "changed"
signal
void user_function (GOOptionMenu *gooptionmenu, gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |