Property

GtkMenuButton:menu-model

Declaration

property menu-model: Gio.MenuModel [ read, write ]

Description [src]

The GMenuModel from which the popup will be created. Depending on the GtkMenuButton:use-popover property, that may be a menu or a popover.

See gtk_menu_button_set_menu_model() for the interaction with the GtkMenuButton:popup property.

Type: GMenuModel
Available since:3.6

Flags

Readableyes
Writableyes
Constructno
Construct onlyno