Gdl.DockPlaceholder

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget 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 Gdl.DockObject Gdl.DockObject Gdl.DockPlaceholder Gdl.DockPlaceholder Gdl.DockObject->Gdl.DockPlaceholder Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gdl.DockObject Gtk.Widget->Gtk.Container

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

new (name, object, position, sticky)

attach (object)

Virtual Methods

Inherited:

Gdl.DockObject (7), Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)

Properties

Inherited:

Gdl.DockObject (4), Gtk.Container (3), Gtk.Widget (39)

Name

Type

Flags

Short Description

floating

bool

r/w/co

Whether the placeholder is standing in for a floating toplevel dock

floatx

int

r/w/co

X coordinate for dock when floating

floaty

int

r/w/co

Y coordinate for dock when floating

height

int

r/w/c

Height for the widget when it’s attached to the placeholder

host

Gdl.DockObject

r/w

The dock object this placeholder is attached to

next-placement

Gdl.DockPlacement

r/w

The position an item will be docked to our host if a request is made to dock to us

sticky

bool

r/w/co

Whether the placeholder will stick to its host or move up the hierarchy when the host is redocked

width

int

r/w/c

Width for the widget when it’s attached to the placeholder

Style Properties

Inherited:

Gtk.Widget (17)

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

Gdl.DockObject

r

Class Details

class Gdl.DockPlaceholder(**kwargs)
Bases:

Gdl.DockObject

Abstract:

No

Structure:

Gdl.DockPlaceholderClass

classmethod new(name, object, position, sticky)
Parameters:
Returns:

The newly created placeholder.

Return type:

Gtk.Widget

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 new Gdl.DockObject

Move the placeholder to the position of object.

Deprecated since version 3.6.

Property Details

Gdl.DockPlaceholder.props.floating
Name:

floating

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Whether the placeholder is standing in for a floating toplevel dock

Gdl.DockPlaceholder.props.floatx
Name:

floatx

Type:

int

Default Value:

-1

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

X coordinate for dock when floating

Gdl.DockPlaceholder.props.floaty
Name:

floaty

Type:

int

Default Value:

-1

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Y coordinate for dock when floating

Gdl.DockPlaceholder.props.height
Name:

height

Type:

int

Default Value:

-1

Flags:

READABLE, WRITABLE, CONSTRUCT

Height for the widget when it’s attached to the placeholder

Gdl.DockPlaceholder.props.host
Name:

host

Type:

Gdl.DockObject

Default Value:

None

Flags:

READABLE, WRITABLE

The dock object this placeholder is attached to

Gdl.DockPlaceholder.props.next_placement
Name:

next-placement

Type:

Gdl.DockPlacement

Default Value:

Gdl.DockPlacement.CENTER

Flags:

READABLE, WRITABLE

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:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Whether the placeholder will stick to its host or move up the hierarchy when the host is redocked

Gdl.DockPlaceholder.props.width
Name:

width

Type:

int

Default Value:

-1

Flags:

READABLE, WRITABLE, CONSTRUCT

Width for the widget when it’s attached to the placeholder