WidgetList

widget list holder

Destructor

~this
~this()
Undocumented in source.

Members

Functions

add
Widget add(Widget item)

add item to list

clear
void clear()

remove and destroy all items

get
Widget get(int index)

get item by index

indexOf
int indexOf(Widget item)

find child index for item, return -1 if not found

indexOf
int indexOf(string id)

find child index for item by id, return -1 if not found

insert
Widget insert(Widget item, int index)

add item to list

remove
Widget remove(int index)

remove item from list, return removed item

Properties

count
int count [@property getter]

returns count of items

Variables

_count
int _count;
Undocumented in source.
_list
Widget[] _list;
Undocumented in source.

Meta