MenuButton.getMenuModel

Returns the [gio.menu_model.MenuModel] used to generate the popup.

Returns

a [gio.menu_model.MenuModel]