RootControl

Container for all top-level windows. The root control's children are, semantically, layers.

Members

Functions

arrange
void arrange(int rw, int rh)
Undocumented in source. Be warned that the author may not have intended to support it.
sizeChanged
void sizeChanged()

Called by WMApplication to notify of size changes.

Inherited Members

From ContainerControl

controlAt
Control controlAt(int x, int y)

Find the child control at the given coordinates.

handleMouseDown
void handleMouseDown(int x, int y, MouseButton button)

Propagates the event to the control at the given coordinates.

handleMouseUp
void handleMouseUp(int x, int y, MouseButton button)
Undocumented in source. Be warned that the author may not have intended to support it.
handleMouseMove
void handleMouseMove(int x, int y, MouseButtons buttons)
Undocumented in source. Be warned that the author may not have intended to support it.
render
void render(Renderer s, int x, int y)

Renders all children.

children
Control[] children [@property getter]

Children getter.

addChild
typeof(this) addChild(Control control)

Makes this control the given control's parent.

Meta