Label Class Reference
[Composer example]

A label. More...

#include <Label.h>

Inherits Wt::WText.

List of all members.

Public Member Functions

 Label (const WString &text, WContainerWidget *parent)

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.

00012   : WText(text, parent)
00013 { 
00014   setStyleClass(L"label");
00015   parent->setContentAlignment(AlignRight);
00016 }


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

Generated on Thu May 13 05:16:01 2010 for Wt by doxygen 1.6.3