Package: gtk

Function gtk-menu-new-from-model

Lambda List

gtk-menu-new-from-model (model)

Arguments

model -- a g-menu-model object

Return Value

A new gtk-menu widget.

Details

Creates a menu and populates it with menu items and submenus according to model. The created menu items are connected to actions found in the gtk-application-window widget to which the menu belongs - typically by means of being attached to a widget, see the gtk-menu-attach-to-widget function, that is contained within the gtk-application-window widgets hierarchy.
 

See also

2021-11-14