Package: gtk
Accessor gtk:menu-button-menu-model
Lambda Listgtk:menu-button-menu-model (object) SyntaxArgumentsDetails The accessor for the menu-model slot gets or sets
the menu model from which the popup will be constructed. Setting menu to nil dissociate any existing menu model and
disable the button. Depending on the value of use-popover property, either a gtk:menu widget will be created with the gtk:menu-new-from-model function, or a gtk:popover widget with the gtk:popover-new-from-model function. In either case, actions will be connected as documented for these functions. If the popup or popover properties are already set, those widgets are dissociated from the menu button, and those properties are set to nil. | See also |
2026-06-27