Method

GtkPopoverMenuopen_submenu

Declaration [src]

void
gtk_popover_menu_open_submenu (
  GtkPopoverMenu* popover,
  const gchar* name
)

Description [src]

Opens a submenu of the popover. The name must be one of the names given to the submenus of popover with GtkPopoverMenu:submenu, or “main” to switch back to the main menu.

GtkModelButton will open submenus automatically when the GtkModelButton:menu-name property is set, so this function is only needed when you are using other kinds of widgets to initiate menu changes.

Available since:3.16

Parameters

name

Type: const gchar*

The name of the menu to switch to.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.