WidgetGroupDefaultDrawing

WidgetGroup with default drawing of children (just draw all children)

Constructors

this
this()

empty parameter list constructor - for usage by factory

this
this(string ID)

create with ID parameter

Members

Functions

onDraw
void onDraw(DrawBuf buf)

Draw widget at its position to buffer

Inherited Members

From WidgetGroup

_children
WidgetList _children;
Undocumented in source.
childCount
int childCount [@property getter]

returns number of children of this widget

child
Widget child(int index)

returns child by index

addChild
Widget addChild(Widget item)

adds child, returns added item

insertChild
Widget insertChild(Widget item, int index)

inserts child at given index, returns inserted item

removeChild
Widget removeChild(int index)

removes child, returns removed item

removeChild
Widget removeChild(string ID)

removes child by ID, returns removed item

removeChild
Widget removeChild(Widget child)

removes child, returns removed item

childIndex
int childIndex(Widget item)

returns index of widget in child list, -1 if passed widget is not a child of this widget

removeAllChildren
void removeAllChildren(bool destroyObj)
Undocumented in source. Be warned that the author may not have intended to support it.
replaceChild
void replaceChild(Widget newChild, Widget oldChild)

replace child with other child

Meta