Wt examples
3.2.0
|
Go to the source code of this file.
Functions | |
WApplication * | createApplication (const WEnvironment &env) |
int | main (int argc, char **argv) |
WApplication* createApplication | ( | const WEnvironment & | env | ) |
Definition at line 8 of file DragApplication.C.
{ WApplication *app = new WApplication(env); app->setTitle("Drag & drop"); app->root()->setStyleClass("root"); new WText("<h1>Wt Drag & drop example.</h1>", app->root()); new DragExample(app->root()); app->useStyleSheet("dragdrop.css"); return app; }
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 24 of file DragApplication.C.
{ return WRun(argc, argv, &createApplication); }