- activateItem
void activateItem(TreeItem item)
Undocumented in source. Be warned that the author may not have intended to support it.
- addChild
TreeItem addChild(TreeItem item, int index)
adds child, returns added item
- child
TreeItem child(int index)
- childIndex
int childIndex(TreeItem item)
returns index of widget in child list, -1 if passed widget is not a child of this widget
- clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
- collapse
void collapse()
Undocumented in source. Be warned that the author may not have intended to support it.
- collapseAll
void collapseAll()
expand this node and all children
- compareId
bool compareId(string id)
Undocumented in source. Be warned that the author may not have intended to support it.
- expand
void expand()
Undocumented in source. Be warned that the author may not have intended to support it.
- expandAll
void expandAll()
expand this node and all children
- findItemById
TreeItem findItemById(string id)
returns item by id, null if not found
- isFullyExpanded
bool isFullyExpanded()
Returns true if this item and all parents are expanded.
- isVisible
bool isVisible()
Returns true if all parents are expanded.
- newChild
TreeItem newChild(string id, dstring label, string iconRes)
create and add new child item
- nextVisible
TreeItem nextVisible(TreeItem item, bool found)
Undocumented in source. Be warned that the author may not have intended to support it.
- onUpdate
void onUpdate(TreeItem item)
- opApply
int opApply(int delegate(ref TreeItem) callback)
- prevVisible
TreeItem prevVisible(TreeItem item, TreeItem prevFoundVisible)
Undocumented in source. Be warned that the author may not have intended to support it.
- removeChild
TreeItem removeChild(int index)
removes child, returns removed item
- removeChild
TreeItem removeChild(TreeItem child)
removes child by reference, returns removed item
- removeChild
TreeItem removeChild(string ID)
removes child by ID, returns removed item
- selectItem
void selectItem(TreeItem item)
Undocumented in source. Be warned that the author may not have intended to support it.
- toggleExpand
void toggleExpand(TreeItem item)
Undocumented in source. Be warned that the author may not have intended to support it.
- canCollapse
bool canCollapse [@property getter]
returns true if item supports collapse
- childCount
int childCount [@property getter]
returns number of children of this widget
- defaultItem
TreeItem defaultItem [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- expanded
bool expanded [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- expanded
bool expanded [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- hasChildren
bool hasChildren [@property getter]
returns true if item has at least one child
- iconRes
string iconRes [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- iconRes
string iconRes [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- id
string id [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- id
string id [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- intParam
int intParam [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- intParam
int intParam [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- isDefault
bool isDefault [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- isRoot
bool isRoot [@property getter]
returns true if this item is root item
- isSelected
bool isSelected [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- level
int level [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- level
int level [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- objectParam
Object objectParam [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- objectParam
Object objectParam [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- parent
TreeItem parent [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- parent
TreeItem parent [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- root
TreeItems root [@property getter]
- selectedItem
TreeItem selectedItem [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- text
dstring text [@property getter]
- text
dstring text [@property setter]
- text
UIString text [@property setter]
- textResource
string textResource [@property setter]
set text resource ID to show
- topParent
TreeItem topParent [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.