List of all members.
Public Types |
|
typedef treeiterator | iterator |
|
typedef default_sorter | default_sort |
Public Member Functions |
|
| subtree (bool _expanded) |
|
bool | get_expanded () |
|
void | expand () |
|
void | expand_all () |
|
void | collapse_all () |
| void | paint (tree *win, int y, bool hierarchical, const std::wstring &str, int depth_shift=2) |
| | Display the given text as the label of this item at the given shifted depth.
|
|
void | set_depth (int _depth) |
|
void | add_child (childtype *newchild) |
|
void | sort (sortpolicy &sort_method) |
|
void | sort () |
|
virtual bool | dispatch_key (const config::key &k, tree *owner) |
|
virtual void | dispatch_mouse (short id, int x, mmask_t bstate, tree *owner) |
|
virtual levelref * | begin () |
|
virtual levelref * | end () |
|
bool | has_visible_children () |
|
bool | has_children () |
|
| treeitem (bool _selectable=true) |
| virtual void | paint (tree *win, int y, bool hierarchical, const style &st)=0 |
| | Display this item and this item only (does not descend to the children of the item, if any).
|
|
virtual const wchar_t * | tag ()=0 |
|
virtual const wchar_t * | label ()=0 |
|
int | get_depth () |
|
bool | get_selectable () |
|
virtual style | get_normal_style () |
|
virtual style | get_highlight_style () |
|
virtual bool | matches (const std::wstring &s) const |
Protected Types |
|
typedef std::list< childtype * > | child_list |
typedef std::list< childtype * >
::iterator | child_iterator |
Protected Member Functions |
|
child_iterator | get_children_begin () |
|
child_iterator | get_children_end () |
|
virtual void | set_selectable (bool _selectable) |
Additional Inherited Members |
| sigc::signal1< void, bool > | highlighted_changed |
| | A signal emitted when the tree-item is highlighted or unhighlighted.
|
Member Function Documentation
template<class childtype, class default_sorter = tag_sort_policy>
Display the given text as the label of this item at the given shifted depth.
- Parameters:
-
| win | the tree in which to paint this item |
| y | the y location at which to paint this item |
| hierarchical | if true, paint this item as an entry in a 'hierarchical' tree |
| st | the style with which this item is to be displayed. |
Reimplemented from cwidget::widgets::treeitem.
The documentation for this class was generated from the following file: