/home/koen/project/wt/public-git/wt/examples/dragdrop/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.

00009 {
00010   WApplication *app = new WApplication(env);
00011   app->setTitle("Drag & drop");
00012 
00013   app->root()->setStyleClass("root");
00014 
00015   new WText("<h1>Wt Drag &amp; drop example.</h1>", app->root());
00016 
00017   new DragExample(app->root());
00018 
00019   app->useStyleSheet("dragdrop.css");
00020 
00021   return app;
00022 }

int main ( int  argc,
char **  argv 
)

Definition at line 24 of file DragApplication.C.

00025 {
00026   return WRun(argc, argv, &createApplication);
00027 }


Generated on Fri Mar 26 17:12:12 2010 for Wt by doxygen 1.5.6