Wt examples  3.2.2
Functions
DragApplication.C File Reference
#include <Wt/WApplication>
#include <Wt/WText>
#include "DragExample.h"

Go to the source code of this file.

Functions

WApplicationcreateApplication (const WEnvironment &env)
int main (int argc, char **argv)

Function Documentation

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 &amp; 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);
}

Generated on Tue Oct 30 2012 for the C++ Web Toolkit (Wt) by doxygen 1.8.1.2