Package: gtk

Function gtk:popover-menu-new-from-model-full

Lambda List

gtk:popover-menu-new-from-model-full (model flags)

Arguments

model -- a g:menu-model object, or nil
flags -- a gtk:popover-menu-flags value, that affect hwo the menu is created

Return Value

The new gtk:popover-menu widget.

Details

Creates a popover menu and populates it according to the menu model. The created buttons are connected to actions found in the action groups that are accessible from the parent widget. This includes the gtk:application-window widget to which the popover belongs. Actions can also be added using the gtk:widget-insert-action-group function on the parent widget or on any of its parent widgets.
 

See also

#2024-10-26