Budgie.PopoverManager¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Budgie.PopoverManager(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Returns:
A pointer to a new
Budgie.PopoverManager
object.- Return type:
Construct a new
Budgie.PopoverManager
object
- register_popover(parent_widget, popover)¶
- Parameters:
parent_widget (
Gtk.Widget
) – The widget that “owns” the popover (relative-to)popover (
Budgie.Popover
) – The popover that will be shown when the parent_widget is activated
Register a new popover with it’s relative-to widget within the popover management system. This will allow the popover to be activated when it’s parent widget has been activated by a mouse roll over, when another widget is visible.
This allows the panel to provide a “menubar” like functionality for interaction with multiple popovers in a natural fashion.
- show_popover(parent_widget)¶
- Parameters:
parent_widget (
Gtk.Widget
) – The widget owning the popover to be shown
Show a
Budgie.Popover
on screen belonging to the specified parent_widget
- unregister_popover(parent_widget)¶
- Parameters:
parent_widget (
Gtk.Widget
) – The associated widget (key) for the registered popover
Unregister a popover so that it is no longer managed by this implementation, and is free to manage itself.