/home/koen/project/wt/cvs/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   new WText("<h1>Wt Drag &amp; drop example.</h1>", app->root());
00014 
00015   new DragExample(app->root());
00016 
00017   app->useStyleSheet("dragdrop.css");
00018 
00019   return app;
00020 }

int main ( int  argc,
char **  argv 
)

Definition at line 22 of file DragApplication.C.

00023 {
00024   return WRun(argc, argv, &createApplication);
00025 }


Generated on Mon Jan 26 14:14:20 2009 for Wt by doxygen 1.5.6