Public Member Functions

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.

  : WText(text, parent)
{ 
  setStyleClass(L"label");
  parent->setContentAlignment(AlignRight);
}


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

Generated on Mon Nov 29 2010 08:03:14 for Wt by doxygen 1.7.1