Wt examples  3.3.6
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)
 

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::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 Thu Jan 12 2017 for the C++ Web Toolkit (Wt) by doxygen 1.8.12