Wt examples  3.3.0
Public Member Functions | List of all members
Label Class Reference

A label. More...

#include <Label.h>

Inheritance diagram for Label:
Inheritance graph
[legend]

Public Member Functions

 Label (const WString &text, WContainerWidget *parent)
 

Additional Inherited Members

- Protected Member Functions inherited from Wt::WWidget
virtual void enableAjax ()=0
 
virtual void propagateSetEnabled (bool enabled)=0
 
virtual void render (WFlags< RenderFlag > flags)
 

Detailed Description

A label.

A label is a WText that is styled as "label", and aligned to the right in its parent.

Definition at line 24 of file Label.h.

Constructor & Destructor Documentation

Label::Label ( const WString text,
WContainerWidget parent 
)

Definition at line 11 of file Label.C.

12  : WText(text, parent)
13 {
14  setStyleClass(L"label");
15  parent->setContentAlignment(AlignRight);
16 }

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

Generated on Fri May 31 2013 for the C++ Web Toolkit (Wt) by doxygen 1.8.3.1