cwidget::widgets::staticitem Class Reference

Inheritance diagram for cwidget::widgets::staticitem:
cwidget::widgets::treeitem

List of all members.

Public Member Functions

 staticitem (std::wstring _name, std::wstring _value)
void paint (tree *win, int y, bool hierarchical, const style &st)
 Display this item and this item only (does not descend to the children of the item, if any).
const wchar_t * tag ()
const wchar_t * label ()

Member Function Documentation

void cwidget::widgets::staticitem::paint ( tree win,
int  y,
bool  hierarchical,
const style st 
) [virtual]

Display this item and this item only (does not descend to the children of the item, if any).

The current style of the corresponding tree widget will be initialized using get_normal_style() and/or get_highlight_style() prior to the invocation of this method.

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 being displayed.

Implements cwidget::widgets::treeitem.

References cwidget::widgets::widget::apply_style(), and cwidget::style_attrs_on().


The documentation for this class was generated from the following files:
Generated on Sun May 9 13:04:57 2010 for cwidget by  doxygen 1.6.3