PopoverMenu.setMenuModel

void setMenuModel(gio.menu_model.MenuModel model = null)

Sets a new menu model on popover.

The existing contents of popover are removed, and the popover is populated with new contents according to model.

Parameters

modela [gio.menu_model.MenuModel]