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-popover 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-popover) 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 property is set, the menu model is dissociated from the menu button, and the property is set to nil.
 

See also

2024-4-20