Wt examples  4.10.3
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Label Class Reference

A label. More...

#include <Label.h>

Inheritance diagram for Label:
[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)
13{
14 setStyleClass(L"label");
15 parent->setContentAlignment(AlignmentFlag::Right);
16}
Wt::Auth::Dbo::UserDatabase< AuthInfo > UserDatabase
Definition Session.h:22

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