Wt examples 3.3.12
Label.C
Go to the documentation of this file.
1/*
2 * Copyright (C) 2008 Emweb bvba, Kessel-Lo, Belgium.
3 *
4 * See the LICENSE file for terms of use.
5 */
6
7#include <Wt/WContainerWidget>
8
9#include "Label.h"
10
12 : WText(text, parent)
13{
14 setStyleClass(L"label");
15 parent->setContentAlignment(AlignRight);
16}
Label(const WString &text, WContainerWidget *parent)
Definition Label.C:11
virtual void setStyleClass(const WString &styleClass)
WWidget * parent() const
AlignRight

Generated on Fri May 17 2024 for the C++ Web Toolkit (Wt) by doxygen 1.9.8