Budgie.Popover

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget Budgie.Popover Budgie.Popover GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Bin Gtk.Bin Gtk.Window Gtk.Window Gtk.Bin->Gtk.Window Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gtk.Bin Gtk.Widget->Gtk.Container Gtk.Window->Budgie.Popover

Subclasses:None

Properties

Inherited:Gtk.Window (33), Gtk.Container (3), Gtk.Widget (39)
Name Type Flags Short Description
position-policy Budgie.PopoverPositionPolicy r/w Get/set the popover position policy
relative-to Gtk.Widget r/w Set the relative widget

Style Properties

Inherited:Gtk.Window (2), Gtk.Widget (17)

Signals

Inherited:Gtk.Window (5), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Name Short Description
closed This signal is emitted when the popover has been dismissed, whether it was deliberately from the user’s perspective, or implicitly through a toggling action, such as being rolled past in a Budgie.PopoverManager set of popovers.

Fields

Inherited:Gtk.Window (5), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Name Type Access Description
parent Gtk.Window r  

Class Details

class Budgie.Popover(*args, **kwargs)
Bases:Gtk.Window
Abstract:No
Structure:Budgie.PopoverClass
classmethod new(relative_to)
Parameters:relative_to (Gtk.Widget) – The widget to show the popover for
Returns:A newly created Budgie.Popover
Return type:Gtk.Widget

Construct a new Budgie.Popover object

get_position_policy()
Returns:The Budgie.PopoverPositionPolicy currently in use
Return type:Budgie.PopoverPositionPolicy

Retrieve the currently active positioning policy for this popover

set_position_policy(policy)
Parameters:policy (Budgie.PopoverPositionPolicy) – New policy to set

Set the positioning policy employed by the popover

do_closed() virtual

Signal Details

Budgie.Popover.signals.closed(popover)
Signal Name:closed
Flags:RUN_LAST, ACTION
Parameters:popover (Budgie.Popover) – The object which received the signal

This signal is emitted when the popover has been dismissed, whether it was deliberately from the user’s perspective, or implicitly through a toggling action, such as being rolled past in a Budgie.PopoverManager set of popovers.

Property Details

Budgie.Popover.props.position_policy
Name:position-policy
Type:Budgie.PopoverPositionPolicy
Default Value:Budgie.PopoverPositionPolicy.AUTOMATIC
Flags:READABLE, WRITABLE

Control the behavior used to place the popover on screen.

Budgie.Popover.props.relative_to
Name:relative-to
Type:Gtk.Widget
Default Value:None
Flags:READABLE, WRITABLE

Set the relative widget