return to index

VDKApplication class
Header: <vdk/application.h>

Description
This class initializes GTK+ library and start events loop. Normally user overrides this class using his own application object. Application objects are responsible to manage also terminating and clean-up procedures.

Public members
VDKForm* MainForm
Is the application main form, must be user initialized otherwise a useless default main form will be constructed by the VDKApplication base object.

Properties

None

Methods

Mode can be ored with: Others
VDK_VERSION_MAJOR
VDK_VERSION_MINOR
VDK_REVISION
For instance:
printf("VDK %d.%d.%d", VDK_VERSION_MAJOR,VDK_VERSION_MINOR ,VDK_REVISION);
fflush(stdout);
will ouput VDK 1.0.1