DockHost

Layout for docking support - contains body widget and optional docked windows

Constructors

this
this()
Undocumented in source.

Members

Functions

addDockedWindow
void addDockedWindow(DockWindow dockWin)
Undocumented in source. Be warned that the author may not have intended to support it.
getDockedWindowList
DockWindow[] getDockedWindowList(DockAlignment alignType)
Undocumented in source. Be warned that the author may not have intended to support it.
layout
void layout(Rect rc)

Set widget rectangle to specified value and layout widget contents. (Step 2 of two phase layout).

measure
void measure(int parentWidth, int parentHeight)

Measure widget according to desired width and height constraints. (Step 1 of two phase layout).

onResize
void onResize(ResizerWidget source, ResizerEventType event, int newPosition)
Undocumented in source. Be warned that the author may not have intended to support it.
removeDockedWindow
DockWindow removeDockedWindow(string id)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

bodyWidget
Widget bodyWidget [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
bodyWidget
Widget bodyWidget [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
layoutPriority
DockAlignment[4] layoutPriority [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
layoutPriority
DockAlignment[4] layoutPriority [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_bodyWidget
Widget _bodyWidget;
Undocumented in source.
_bottomSpace
DockSpace _bottomSpace;
Undocumented in source.
_layoutPriority
DockAlignment[4] _layoutPriority;
Undocumented in source.
_leftSpace
DockSpace _leftSpace;
Undocumented in source.
_resizeStartPos
int _resizeStartPos;
Undocumented in source.
_rightSpace
DockSpace _rightSpace;
Undocumented in source.
_topSpace
DockSpace _topSpace;
Undocumented in source.

Inherited Members

From WidgetGroupDefaultDrawing

onDraw
void onDraw(DrawBuf buf)

Draw widget at its position to buffer

Meta