TreeListItemWidget.TreeListWidget

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Members

Functions

selectItem
void selectItem(ListItemWidget w)
Undocumented in source. Be warned that the author may not have intended to support it.
unselectItem
void unselectItem(ListItemWidget w)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

focusable
bool focusable [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
trackable
bool trackable [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From ListWidget

_items
ListItemWidget[] _items;
Undocumented in source.
items
items [@property getter]

Child items.

selectedItems
selectedItems [@property getter]

All selected child items.

children
Widget[] children [@property getter]
_multiselect
bool _multiselect;
Undocumented in source.
multiselectable
multiselectable [@property getter]

Whether the list widget is multi-selectable.

_dragging
Widget _dragging;
Undocumented in source.
onSelectChange
SelectChangeHandler onSelectChange;
handleMouseButton
bool handleMouseButton(MouseButton btn, bool status, vec2 pos)
setMultiselectable
void setMultiselectable(bool b)

Changes multi-selectable.

addItem
void addItem(ListItemWidget w)

Adds an item.

removeItem
void removeItem(ListItemWidget w)

Removes an item.

removeAllItems
void removeAllItems()

Removes all items.

deselect
void deselect()

Unselects all items.

selectItem
void selectItem(ListItemWidget w)

Selects the item.

unselectItem
void unselectItem(ListItemWidget w)

Unselects the item.

toggleItem
void toggleItem(ListItemWidget w)

Toggles selected state of the item.

trackable
bool trackable [@property getter]
focusable
bool focusable [@property getter]

Meta