Method
GioMenuinsert_submenu
since: 2.32
Declaration [src]
void
g_menu_insert_submenu (
  GMenu* menu,
  gint position,
  const gchar* label,
  GMenuModel* submenu
)
Description [src]
Convenience function for inserting a submenu menu item into menu. Combine g_menu_item_new_submenu() and g_menu_insert_item() for a more
flexible alternative.
Available since: 2.32
Parameters
- position
- 
            Type: gintThe position at which to insert the item. 
- label
- 
            Type: const gchar*The section label, or NULL.The argument can be NULL.The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. 
- submenu
- 
            Type: GMenuModelA GMenuModelwith the items of the submenu.The data is owned by the caller of the method.