It derives from <GtkWidget>.
A single child container with a popover.
You should use <GtkPopoverBin> whenever you
need to present a <GtkPopover> to the user.
<GtkPopoverBin> defines the menu.popup
action, which can be activated to present the popover to the user.
<GtkPopoverBin> has a single CSS node with the
name popoverbin.
The child widget of the popover bin.
Its value is a <GtkWidget>, or #f.
Set it with (set! (popover-bin:child self) value).
Whether the popover bin will handle input to trigger the popup.
Its value is a boolean.
Set it with (set! (popover-bin:handle-input self) value).
The <GMenuModel> from which the popup will
be created.
See popover-bin:set-menu-model
for the interaction with the popover-bin:popover property.
Its value is a <GMenuModel>, or #f.
Set it with (set! (popover-bin:menu-model self) value).
The <GtkPopover> that will be popped up when
calling popover-bin:popup.
Its value is a <GtkPopover>, or #f.
Set it with (set! (popover-bin:popover self) value).
Retrieves the child widget of the popover bin.
Passed: a <GtkPopoverBin>.
a popover bin
Returned: a <GtkWidget>, or #f.
the child widget
Passed: a <GtkPopoverBin>.
Returned: a boolean.
Retrieves the menu model set using popover-bin:set-menu-model.
Passed: a <GtkPopoverBin>.
a popover bin
Returned: a <GMenuModel>, or #f.
the menu model for the popover
Retrieves the <GtkPopover> set using
popover-bin:set-popover.
Passed: a <GtkPopoverBin>.
a popover bin
Returned: a <GtkPopover>, or #f.
a popover widget
Creates a new popover bin widget.
Returned: a <GtkWidget>.
the newly created popover bin
Hides the popover from the user.
See: popover-bin:popup
Passed: a <GtkPopoverBin>.
a popover bin
Presents the popover to the user.
Use popover-bin:set-popover or
popover-bin:set-menu-model to
define the popover.
See: popover-bin:popdown
Passed: a <GtkPopoverBin>.
a popover bin
Sets the child of the popover bin.
Passed: a <GtkPopoverBin>.
a popover bin
Passed, or left out: a <GtkWidget>, or #f.
the child of the popover bin
Enables or disables input handling.
If enabled, the popover bin will pop up the popover on right-click or long press, as expected for a context menu.
Passed: a <GtkPopoverBin>.
a popover bin
Passed: a boolean.
whether to handle input
Sets the menu model used to create the popover that will be presented
when calling popover-bin:popup.
If model is NULL, the popover will be unset.
A <GtkPopover> will be created from the menu model
with popover-menu:new-from-model. Actions will be
connected as documented for this function.
If popover-bin:popover is
already set, it will be dissociated from the popover bin, and the
property is set to NULL.
Passed: a <GtkPopoverBin>.
a popover bin
Passed, or left out: a <GMenuModel>, or
#f.
a menu model
Sets the <GtkPopover> that will be presented when
calling popover-bin:popup.
If popover is NULL, the popover will be unset.
If popover-bin:menu-model
is set before calling this function, then the menu model property will
be unset.
See: popover-bin:set-menu-model
Passed: a <GtkPopoverBin>.
a popover bin
Passed, or left out: a <GtkPopover>, or #f.