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

Accessor of the popover slot of the gtk-menu-button class.

The gtk-menu-button-align-widget slot access function returns the popover that pops out of the button. If the button is not using a popover, this function returns nil. The (setf gtk-menu-button-align-widget) slot access function sets the popover that will be popped up when the menu button is clicked, or nil to dissociate any existing popover and disable the button.

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

See also

2021-12-23