Table

Space out controls in a 2D grid, according to their dimensions and resizability.

Constructors

this
this(uint rows, uint cols)
Undocumented in source.

Members

Functions

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

Variables

cols
uint cols;

Table size.

rows
uint rows;

Table size.

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