Wt examples  3.3.5
Functions
/usr/src/RPM/BUILD/wt-3.3.5-rc2/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

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 Mar 22 2016 for the C++ Web Toolkit (Wt) by doxygen 1.7.6.1