Control

Root control class.

Members

Functions

arrange
void arrange(int rw, int rh)

rw and rh are recommended (hint) sizes that the parent is allocating to the child, but there is no obligation to follow them.

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

Event handlers.

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

Called when a child's dimensions change, to allow the size change to bubble up to parents.

render
void render(Renderer r, int x, int y)

Renderer.

Properties

parent
ContainerControl parent [@property getter]

Parent getter.

parent
ContainerControl parent [@property setter]

Parent setter.

Variables

h
int h;
w
int w;

Geometry.

x
int x;
y
int y;

Geometry.

Meta