![]() | |
![]() | ![]() |
Entire Class Index | Main Class Index | Cross Index | Global Index |
TreeView node
Contained in: global
Derived from:
none
Derived by:
CL_TreeView
Group: GUI (Controls)
#include <ClanLib/gui.h>
public function member index: |
||
Construction: |
||
CL_TreeView_Node | (); | |
Attributes: |
||
int | get_count | () const; |
CL_Component* | get_item | (int index) const; |
int | get_current_item | () const; |
bool | is_selected | (int index) const; |
Operations: |
||
CL_TreeView_Node* | insert_item | (const std::string, int index = -1); |
CL_TreeView_Node* | insert_item | (CL_Component* component, int index = -1); |
void | remove_item | (int index); |
void | set_current_item | (int index); |
void | set_selected | (int index, bool select); |
void | clear_selection | (); |
void | select_all | (bool select = true); |
void | invert_selection | (); |
void | set_multi_selection | (bool enable = true); |
void | clear | (); |
void | draw_nodes | (CL_Point& point); |
private function member index: |
||
Implementation: |
||
void | draw_node | (CL_Point& point); |
void | on_child_click | (const CL_Key& key); |
If index is negative, text is inserted at the end of the list.
Returns the node of the item.
If index is negative, text is inserted at the end of the list.
Returns the node of the item.