Method
GtkMenuItemset_submenu
Declaration [src]
void
gtk_menu_item_set_submenu (
GtkMenuItem* menu_item,
GtkWidget* submenu
)
Description [src]
Sets or replaces the menu item’s submenu, or removes it when a NULL
submenu is passed.
Sets property | Gtk.MenuItem:submenu |
Parameters
submenu
-
Type:
GtkMenu
The submenu, or
NULL
.The argument can be NULL
.The data is owned by the caller of the method.