Popover.this

Creates a gtk.Popover and populates it according to model. The popover is pointed to the relative_to widget.

The created buttons are connected to actions found in the gtk.ApplicationWindow to which the popover belongs - typically by means of being attached to a widget that is contained within the gtk.ApplicationWindows widget hierarchy.

Actions can also be added using Widget.insertActionGroup on the menus attach widget or on any of its parent widgets.

Parameters

relativeTo Widget

gtk.Widget the popover is related to

model MenuModel

Return Value

the new gtk.Popover

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

3.12