Wt examples  3.2.0
Functions
/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.

{
  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 Nov 29 2011 for the C++ Web Toolkit (Wt) by doxygen 1.7.5.1