Wt examples 3.3.12
PaintApplication.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/WApplication>
8
9#include "PaintExample.h"
10
11using namespace Wt;
12
14{
15public:
17 setTitle("Paint example");
18
19 useStyleSheet("painting.css");
20
21 new PaintExample(root());
22 }
23};
24
26{
27 return new PaintApplication(env);
28}
29
30int main(int argc, char **argv)
31{
32 return WRun(argc, argv, &createApplication);
33}
WApplication * createApplication(const WEnvironment &env)
int main(int argc, char **argv)
PaintApplication(const WEnvironment &env)
WEnvironment & env()
WContainerWidget * root() const
void setTitle(const WString &title)
void useStyleSheet(const WLink &link, const std::string &media="all")

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