2.94 .docking

This attribute of the toolbar sets or returns the docking position of the toolbar.

Definition

  • Data type

    enum

  • Access

    get, set

  • changed event

    no

Value range

dock_window

Undocking the toolbar as free floating tool window.

dock_up

Docking the toolbar in the toolbar area above the window's client area.

dock_down

Docking the toolbar in the toolbar area below the window's client area.

dock_left

Docking the toolbar in the toolbar area left of the window's client area.

dock_right

Docking the toolbar in the toolbar area right of the window's client area.

With instances it is only allowed to set values for which the attribute .dockable[enum] is true.

If the parent window of a toolbar instance is visible but not sizeable, the attribute can only be changed to values that do not influence the size attributes of the parent window. This means, that docking may be toggled between dock_up and dock_down or between dock_left and dock_right only.

For invisible windows this limitation does not apply as size changes can be handled programmatically without annoying visual effects.

See also

Attribute .dockable[enum]