7 #include <Wt/WApplication>
9 #include <Wt/WContainerWidget>
10 #include <Wt/WLineEdit>
11 #include <Wt/WPushButton>
44 setTitle(
"Hello world");
46 root()->addWidget(
new WText(
"Your name, please ? "));
51 =
new WPushButton(
"Greet me.", root());
52 button->setMargin(5, Left);
54 root()->addWidget(
new WBreak());
96 int main(
int argc,
char **argv)
HelloApplication(const WEnvironment &env)
int main(int argc, char **argv)
WApplication * createApplication(const WEnvironment &env)