- wxTreeCtrl
Default Constructor.
- AddRoot
Adds the root node to the tree, returning the new item.
- AppendItem
Appends an item to the end of the branch identified by parent, return a new item id.
- AssignImageList
Sets the normal image list.
- AssignStateImageList
Sets the state image list.
- ClearFocusedItem
Clears the currently focused item.
- Collapse
Collapses the given item.
- CollapseAll
Collapses the root item.
- CollapseAllChildren
Collapses this item and all of its children, recursively.
- CollapseAndReset
Collapses the given item and removes all children.
- Create
Creates the tree control.
- Delete
Deletes the specified item.
- DeleteAllItems
Deletes all items in the control.
- DeleteChildren
Deletes all children of the given item (but not the item itself).
- EndEditLabel
Ends label editing.
- EnsureVisible
Scrolls and/or expands items to ensure that the given item is visible.
- Expand
Expands the given item.
- ExpandAll
Expands all items in the tree.
- ExpandAllChildren
Expands the given item and all its children recursively.
- GetBoundingRect
Retrieves the rectangle bounding the item.
- GetChildrenCount
Returns the number of items in the branch.
- GetCount
Returns the number of items in the control.
- GetEditControl
Returns the edit control being currently used to edit a label.
- GetFirstVisibleItem
Returns the first visible item.
- GetFocusedItem
Returns the item last clicked or otherwise selected.
- GetImageList
Returns the normal image list.
- GetIndent
Returns the current tree control indentation.
- GetItemBackgroundColour
Returns the background colour of the item.
- GetItemData
Returns the tree item data associated with the item.
- GetItemFont
Returns the font of the item label.
- GetItemImage
Gets the specified item image.
- GetItemParent
Returns the item's parent.
- GetItemState
Gets the specified item state.
- GetItemText
Returns the item label.
- GetItemTextColour
Returns the colour of the item label.
- GetLastChild
Returns the last child of the item (or an invalid tree item if this item has no children).
- GetNextSibling
Returns the next sibling of the specified item; call GetPrevSibling() for the previous sibling.
- GetNextVisible
Returns the next visible item or an invalid item if this item is the last visible one.
- GetPrevSibling
Returns the previous sibling of the specified item; call GetNextSibling() for the next sibling.
- GetPrevVisible
Returns the previous visible item or an invalid item if this item is the first visible one.
- GetQuickBestSize
Returns true if the control will use a quick calculation for the best size, looking only at the first and last items.
- GetRootItem
Returns the root item for the tree control.
- GetSelection
Returns the selection, or an invalid item if there is no selection.
- GetStateImageList
Returns the state image list (from which application-defined state images are taken).
- HitTest
Calculates which (if any) item is under the given point, returning the tree item id at this point plus extra information flags.
- InsertItem
Inserts an item after a given one (previous).
- IsBold
Returns true if the given item is in bold state.
- IsEmpty
Returns true if the control is empty (i.e.
- IsExpanded
Returns true if the item is expanded (only makes sense if it has children).
- IsSelected
Returns true if the item is selected.
- IsVisible
Returns true if the item is visible on the screen.
- ItemHasChildren
Returns true if the item has children.
- PrependItem
Appends an item as the first child of parent, return a new item id.
- ScrollTo
Scrolls the specified item into view.
- SelectChildren
Select all the immediate children of the given parent.
- SelectItem
Selects the given item.
- SetFocusedItem
Sets the currently focused item.
- SetImageList
Sets the normal image list.
- SetIndent
Sets the indentation for the tree control.
- SetItemBackgroundColour
Sets the colour of the item's background.
- SetItemBold
Makes item appear in bold font if bold parameter is true or resets it to the normal state.
- SetItemData
Sets the item client data.
- SetItemDropHighlight
Gives the item the visual feedback for Drag'n'Drop actions, which is useful if something is dragged from the outside onto the tree control (as opposed to a DnD operation within the tree control, which already is implemented internally).
- SetItemFont
Sets the item's font.
- SetItemHasChildren
Force appearance of the button next to the item.
- SetItemImage
Sets the specified item's image.
- SetItemState
Sets the specified item state.
- SetItemText
Sets the item label.
- SetItemTextColour
Sets the colour of the item's text.
- SetQuickBestSize
If true is passed, specifies that the control will use a quick calculation for the best size, looking only at the first and last items.
- SetStateImageList
Sets the state image list (from which application-defined state images are taken).
- SetWindowStyle
Sets the mode flags associated with the display of the tree control.
- SortChildren
Sorts the children of the given item using OnCompareItems().
- Toggle
Toggles the given item between collapsed and expanded states.
- ToggleItemSelection
Toggles the given item between selected and unselected states.
- Unselect
Removes the selection from the currently selected item (if any).
- UnselectAll
This function either behaves the same as Unselect() if the control doesn't have wxTR_MULTIPLE style, or removes the selection from all items if it does have this style.
- UnselectItem
Unselects the given item.