Bases: gobject._gobject.GObject
Manage a dock layout.
For this to work the toplevel widget in the layout hierarchy should be a DockFrame. The DockFrame is registered with the DockLayout. After that sophisticated drag-and-drop functionality is present.
NB. When items are closed, the item-closed signal is emitted. The item is not destroyed, though.
Set up signal handlers for layout and child widgets
Get the floating frames. Floating frames have a gtk.Window as parent that is transient for some other window.
Get the frames that are non-floating (the main frames).
Get a set of widgets based on their name.
An item is selected by clicking on a tab.
Deal with new elements being added to the layout or it’s children.
Execute the received handler using the received handler retrieved in the drag_drop event handler.
The input focus moved to another widget.
Remove signals from containers and subcontainers.
Remove signal handlers.
item-closed ( group, item ): event forwarded from the DockGroup on which the item was removed. This makes for easy central maintenance of how to deal with closed items (e.g. if the items should be destroyed or not).