Package: gtk

Accessor gtk:menu-button-popup

Lambda List

gtk:menu-button-popup (object)

Syntax

(gtk:menu-button-popup object) => popup
(setf (gtk:menu-button-popup object) popup)

Arguments

object -- a gtk:menu-button widget
menu -- a gtk:menu widget, or nil to unset and disable the button

Details

The accessor for the popup slot gets or sets the menu that will be popped up when the menu button is clicked. If the button does not use a menu, this function returns nil. Setting menu to nil dissociate any existing menu and disable the button.

If the menu-model or popover are set, those objects are dissociated from the menu button, and those properties are set to nil.
 

See also

2026-06-27