Gdl.DockPlaceholder¶
- Subclasses:
None
Methods¶
- Inherited:
Gdl.DockObject (34), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10)
- Structs:
Gdl.DockObjectClass (1), Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class |
|
|
Virtual Methods¶
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
Whether the placeholder is standing in for a floating toplevel dock |
||
r/w/co |
X coordinate for dock when floating |
||
r/w/co |
Y coordinate for dock when floating |
||
r/w/c |
Height for the widget when it’s attached to the placeholder |
||
r/w |
The dock object this placeholder is attached to |
||
r/w |
The position an item will be docked to our host if a request is made to dock to us |
||
r/w/co |
Whether the placeholder will stick to its host or move up the hierarchy when the host is redocked |
||
r/w/c |
Width for the widget when it’s attached to the placeholder |
Style Properties¶
- Inherited:
Signals¶
- Inherited:
Gdl.DockObject (2), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Fields¶
- Inherited:
Gdl.DockObject (2), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Name |
Type |
Access |
Description |
---|---|---|---|
object |
r |
Class Details¶
- class Gdl.DockPlaceholder(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(name, object, position, sticky)¶
- Parameters:
name (
str
) – Unique name for identifying the dock object.object (
Gdl.DockObject
) – CorrespondingGdl.DockObject
position (
Gdl.DockPlacement
) – The position to dock a new item in objectsticky (
bool
) –True
if the placeholder move with the object
- Returns:
The newly created placeholder.
- Return type:
Creates a new dock placeholder at object place. This is a kind of marker allowing you to dock new items later at this place. It is not completely working though.
Deprecated since version 3.6.
- attach(object)¶
- Parameters:
object (
Gdl.DockObject
) – A newGdl.DockObject
Move the placeholder to the position of object.
Deprecated since version 3.6.
Property Details¶
- Gdl.DockPlaceholder.props.floating¶
- Name:
floating
- Type:
- Default Value:
- Flags:
Whether the placeholder is standing in for a floating toplevel dock
- Gdl.DockPlaceholder.props.floatx¶
- Name:
floatx
- Type:
- Default Value:
-1
- Flags:
X coordinate for dock when floating
- Gdl.DockPlaceholder.props.floaty¶
- Name:
floaty
- Type:
- Default Value:
-1
- Flags:
Y coordinate for dock when floating
- Gdl.DockPlaceholder.props.height¶
-
Height for the widget when it’s attached to the placeholder
- Gdl.DockPlaceholder.props.host¶
- Name:
host
- Type:
- Default Value:
- Flags:
The dock object this placeholder is attached to
- Gdl.DockPlaceholder.props.next_placement¶
- Name:
next-placement
- Type:
- Default Value:
- Flags:
The position an item will be docked to our host if a request is made to dock to us
- Gdl.DockPlaceholder.props.sticky¶
- Name:
sticky
- Type:
- Default Value:
- Flags:
Whether the placeholder will stick to its host or move up the hierarchy when the host is redocked