Flags

Details

class Gdl.DockItemBehavior(value)

Bases: GObject.GFlags

Described the behaviour of a doc item. The item can have multiple flags set.

NORMAL = 0

Normal dock item

NEVER_FLOATING = 1

item cannot be undocked

CANT_ICONIFY = 1024

item cannot be iconified

CANT_DOCK_RIGHT = 128

item cannot be docked right

CANT_DOCK_TOP = 16

item cannot be docked at top

NEVER_VERTICAL = 2

item cannot be docked vertically

NO_GRIP = 2048

item doesn’t have a grip

CANT_DOCK_CENTER = 256

item cannot be docked at center

CANT_DOCK_BOTTOM = 32

item cannot be docked at bottom

NEVER_HORIZONTAL = 4

item cannot be docked horizontally

CANT_CLOSE = 512

item cannot be closed

CANT_DOCK_LEFT = 64

item cannot be docked left

LOCKED = 8

item is locked, it cannot be moved around

class Gdl.DockItemFlags(value)

Bases: GObject.GFlags

Status flag of a Gdl.DockItem. Don’t use unless you derive a widget from Gdl.DockItem

Deprecated since version 3.6: Use your own private data instead.

ICONIFIED = 1024

item is iconified

USER_ACTION = 2048

indicates the user has started an action on the dock item

IN_DRAG = 256

item is in a drag operation

IN_PREDRAG = 512

item is in a predrag operation

class Gdl.DockObjectFlags(value)

Bases: GObject.GFlags

Described the state of a Gdl.DockObject.

Since 3.6: These flags are available using access function, like Gdl.DockObject.is_automatic() or Gdl.DockObject.is_closed().

AUTOMATIC = 1

Object is created and destroyed by the master, not the user

ATTACHED = 2

Object has a parent

IN_REFLOW = 4

Object is currently part of a rearrangement

IN_DETACH = 8

Object will be removed

class Gdl.DockParamFlags(value)

Bases: GObject.GFlags

Used to flag additional characteristics to GObject.Object properties used in dock object.

EXPORT = 256

The parameter is to be exported for later layout rebuilding

AFTER = 512

The parameter must be set after adding the children objects