Package: gtk

Function gtk:menu-bar-new-from-model

Lambda List

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

Arguments

model -- a g:menu-model object

Return Value

A new gtk:menu-bar widget.

Details

Creates a new menu bar and populates it with menu items and submenus according to the menu model. The created menu items are connected to actions found in the gtk:application-window widget to which the menu bar belongs - typically by means of being contained within the gtk:application-window widgets hierarchy.
 

See also

#2023-3-21