Package: gtk

Accessor gtk:menu-button-popover

Lambda List

gtk:menu-button-popover (object)

Syntax

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

Arguments

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

Details

The accessor for the popover slot of the gtk:menu-button class gets or sets the popover that pops out of the button. If the button is not using a popover, this function returns nil. Pass nil to dissociate any existing popover and disable the button.

If the menu-model property is set, the menu model is dissociated from the menu button, and the property is set to nil.
 

See also

2025-08-05