cwidget  0.5.16
Public Member Functions
cwidget::widgets::subtree_generic Class Reference
Inheritance diagram for cwidget::widgets::subtree_generic:
cwidget::widgets::subtree< treeitem > cwidget::widgets::treeitem

List of all members.

Public Member Functions

 subtree_generic (int _expanded)
- Public Member Functions inherited from cwidget::widgets::subtree< treeitem >
 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 (treeitem *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 ()
- Public Member Functions inherited from cwidget::widgets::treeitem
 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

Additional Inherited Members

- Public Types inherited from cwidget::widgets::subtree< treeitem >
typedef treeiterator iterator
typedef tag_sort_policy default_sort
- Protected Types inherited from cwidget::widgets::subtree< treeitem >
typedef std::list< treeitem * > child_list
typedef std::list< treeitem * >
::iterator 
child_iterator
- Protected Member Functions inherited from cwidget::widgets::subtree< treeitem >
child_iterator get_children_begin ()
child_iterator get_children_end ()
- Protected Member Functions inherited from cwidget::widgets::treeitem
virtual void set_selectable (bool _selectable)

The documentation for this class was generated from the following file: