![]() | ![]() | ![]() | GPE Manual: libgpewidget Reference | ![]() |
---|
GtkSimpleMenuGtkSimpleMenu — Simple menu widget |
GtkSimpleMenu; GtkSimpleMenuClass; GtkWidget* gtk_simple_menu_new (void); void gtk_simple_menu_append_item (GtkSimpleMenu *sel, const gchar *item); void gtk_simple_menu_flush (GtkSimpleMenu *sel);
typedef struct _GtkSimpleMenu GtkSimpleMenu;
Menu struct containing a GtkOptionMenu (optionmenu) and a menu widget (menu).
typedef struct _GtkSimpleMenuClass GtkSimpleMenuClass;
Abstract class type, don't use directly.
GtkWidget* gtk_simple_menu_new (void);
Create a new simple menu widget.
Returns : | New widget. |
void gtk_simple_menu_append_item (GtkSimpleMenu *sel, const gchar *item);
Adds a new menu item to a GtkSimpleMenu.
sel : | Menu to add an item to. |
item : | Title for menu item. |
void gtk_simple_menu_flush (GtkSimpleMenu *sel);
Cleans up a GtkSimpleMenu and removes all its items.
sel : | Menu to flush. |
<< GtkDateCombo | GpeIconListItem >> |