open_submenu


Description:

[ Version ( since = "3.16" ) ]
public void open_submenu (string name)

Opens a submenu of the this.

The name must be one of the names given to the submenus of this with GtkPopoverMenu:submenu, or "main" to switch back to the main menu.

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

Parameters:

this

a PopoverMenu

name

the name of the menu to switch to