Home | All Classes | Grouped Classes | Index | Search
TreeView node More...
Derived from:
none
Derived by:
CL_TreeView
Group: GUI (Controls)
#include <ClanLib/gui.h>
Construction:
The treenode constructor. |
Attributes:
Returns true if node is selectable. | |
Returns true if node is collapsable. | |
Returns true if node is selected. | |
Return true if node is collapsed. | |
Return true if node has sub-items. | |
Returns true if node is root item. | |
Returns the current selected item. Note: This searches children as well. | |
Returns the attaches userdata, if any. | |
Returns the CL_Component this node uses. | |
Returns the CL_TreeView this node belongs to. | |
Returns the parent node. | |
Returns the depth of this node. Root node starts at 1. | |
Returns the x offset the component is located at. Used by themes to align columns correctly. | |
Returns the height of all opened items. |
Operations:
Inserts a child item. | |
Removes an item from tree. Note that it searches children as well for the item. Returns true if item was found and deleted. | |
Sets/changes a new component for the node. It takes ownership of the component, and deletes it on shutdown. | |
Collapse this node. | |
Set the tree to collapsable or not. If set to false, item will never be collapsable by the user. | |
Set the tree to selectable or not. If set to false, item will never be selectable by the user. | |
Select this node. | |
Deselects current selected item. | |
Inverts the selection. Works only in Multi selection mode. | |
Deletes all items in the tree. | |
Attaches userdata to node. | |
Set the x offset the component is located at. Used by themes to align columns correctly. | |
Detailed description:
!group=GUI/Controls! !header=gui.h!