![]() |
![]() |
![]() |
GPE Manual: libgpewidget Reference | ![]() |
---|---|---|---|---|
Top | Description |
GtkWidget * gtk_simple_menu_new (void
); void gtk_simple_menu_append_item (GtkSimpleMenu *sel
,const gchar *item
); void gtk_simple_menu_flush (GtkSimpleMenu *sel
); GtkSimpleMenu; GtkSimpleMenuClass;
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.
|
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. |
typedef struct _GtkSimpleMenu GtkSimpleMenu;
Menu struct containing a GtkOptionMenu (optionmenu) and a menu widget (menu).