A clickable option.
More...
#include <Option.h>
Inherits Wt::WContainerWidget.
List of all members.
Detailed Description
A clickable option.
This widget is part of the Wt composer example.
On its own, an option is a text which is style "option". An Option may also be used as items in an OptionList.
- See also:
- OptionList
Definition at line 31 of file Option.h.
Constructor & Destructor Documentation
Member Function Documentation
void Option::addSeparator |
( |
|
) |
[private] |
Create and show the separator.
Definition at line 33 of file Option.C.
void Option::hideSeparator |
( |
|
) |
[private] |
Hide the separator.
Definition at line 39 of file Option.C.
Returns the clickable part.
Definition at line 44 of file Option.h.
void Option::setHidden |
( |
bool |
hidden |
) |
[virtual] |
void Option::setOptionList |
( |
OptionList * |
l |
) |
[private] |
void Option::setText |
( |
const WString & |
text |
) |
|
Change the text.
Definition at line 23 of file Option.C.
void Option::showSeparator |
( |
|
) |
[private] |
Show the separator.
Definition at line 44 of file Option.C.
Friends And Related Function Documentation
Member Data Documentation
The list in which this option is managed, if managed.
Definition at line 56 of file Option.h.
The option command text.
Definition at line 50 of file Option.h.
The separator '|'.
Definition at line 53 of file Option.h.
The documentation for this class was generated from the following files:
- /tmp/buildd/witty-3.1.2/examples/composer/Option.h
- /tmp/buildd/witty-3.1.2/examples/composer/Option.C