#include <Wt/WApplication>
#include <Wt/WText>
#include "DragExample.h"
#include <Wt/WContainerWidget>
Go to the source code of this file.
Functions | |
WApplication * | createApplication (const WEnvironment &env) |
int | main (int argc, char **argv) |
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 & 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 }