Package: gtk

Accessor gtk:popover-bin-menu-model

Lambda List

gtk:popover-bin-menu-model (object)

Syntax

(gtk:popover-bin-menu-model object) => model
(setf (gtk:popover-bin-menu-model object) model)

Arguments

object -- a gtk:popover-bin widget
model -- a g:list-model object for the menu model

Details

The accessor for the menu-model slot gets or sets the menu model used to create the popover that will be presented when calling the gtk:popover-bin-popup function. If model is nil, the popover will be unset.

A gtk:popover widget will be created from the menu model with the gtk:popover-menu-new-from-model function. Actions will be connected as documented for this function.

If the popover property is already set, it will be dissociated from the popover bin, and the property is set to nil.

Since 4.22
 

See also

2026-09-04