41 root()->
addWidget(std::make_unique<Wt::WText>(
"Your name, please ? "));
46 auto button =
root()->
addWidget(std::make_unique<Wt::WPushButton>(
"Greet me."));
48 button->setMargin(5, Wt::Side::Left);
69 button->clicked().connect([=]() {
70 std::cerr <<
"Hello there, " <<
nameEdit_->
text() << std::endl;
bool setText(const WString &text)