Wt examples 3.3.12
Functions
JavascriptExample.C File Reference
#include <iostream>
#include <Wt/WApplication>
#include <Wt/WBreak>
#include <Wt/WContainerWidget>
#include <Wt/WText>
#include <Wt/WPushButton>
#include "JavascriptExample.h"
#include "Popup.h"

Go to the source code of this file.

Functions

WApplicationcreateApplication (const WEnvironment &env)
 
int main (int argc, char **argv)
 

Function Documentation

◆ createApplication()

WApplication * createApplication ( const WEnvironment env)

Definition at line 93 of file JavascriptExample.C.

94{
95 return new JavascriptExample(env);
96}
An example showing how to interact custom JavaScript with Wt stuff.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 98 of file JavascriptExample.C.

99{
100 return WRun(argc, argv, &createApplication);
101}
WApplication * createApplication(const WEnvironment &env)

Generated on Fri May 17 2024 for the C++ Web Toolkit (Wt) by doxygen 1.9.8