10#include <Wt/WContainerWidget.h>
31class Option :
public WContainerWidget
36 Option(
const WString& text);
40 void setText(
const WString& text);
47 const WAnimation& animation = WAnimation());
A list of options, separated by '|'.
WText * option_
The option command text.
void setText(const WString &text)
Change the text.
void setOptionList(OptionList *l)
WText * sep_
The separator '|'.
virtual void setHidden(bool hidden, const WAnimation &animation=WAnimation())
OptionList * list_
The list in which this option is managed, if managed.
void showSeparator()
Show the separator.
WInteractWidget * item()
Returns the clickable part.
void addSeparator()
Create and show the separator.
void hideSeparator()
Hide the separator.