| GPE Manual: libgpewidget Reference | ||||
|---|---|---|---|---|
| Top | Description | ||||
GtkSimpleMenu; GtkSimpleMenuClass; void gtk_simple_menu_append_item (GtkSimpleMenu *sel,const gchar *item); void gtk_simple_menu_flush (GtkSimpleMenu *sel); GtkWidget * gtk_simple_menu_new (void);
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.
void gtk_simple_menu_append_item (GtkSimpleMenu *sel,const gchar *item);
Adds a new menu item to a GtkSimpleMenu.
|
Menu to add an item to. |
|
Title for menu item. |
void gtk_simple_menu_flush (GtkSimpleMenu *sel);
Cleans up a GtkSimpleMenu and removes all its items.
|
Menu to flush. |
GtkWidget * gtk_simple_menu_new (void);
Create a new simple menu widget.
Returns : |
New widget. |