Wt examples 3.1.10
Public Member Functions
Label Class Reference

A label. More...

#include <Label.h>

Inheritance diagram for Label:
Inheritance graph
[legend]

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 Sat Dec 24 2011 for the C++ Web Toolkit (Wt) by doxygen 1.7.4