Wtx ~ Wt Extension Library
WtxLib
Public Member Functions | Friends | List of all members
Option Class Reference

A clickable option. More...

#include <Option.h>

+ Inheritance diagram for Option:

Public Member Functions

 Option (const WString &text)
 Create an Option with the given text.
 
void setText (const WString &text)
 Change the text.
 
WInteractWidget * item ()
 Returns the clickable part.
 
virtual void setHidden (bool hidden, const WAnimation &animation=WAnimation())
 

Friends

class OptionList
 

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.


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