[tvision Index] [tvision Hierarchy] [Headers]
The mother of all applications More...
#include <app.h>
The mother of all applications.
TApplication is a shell around TProgram and differs from it mainly in constructor and destructor. TApplication provides the application with a standard menu bar, a standard desktop and a standard status bar. In any real application, you usually need to inherit TApplication and redefine some of its methods. For example to add custom menus you must redefine TProgram::initMenuBar(). To add a custom status line, you need to redefine TProgram::initStatusLine(). In the same way to add a custom desktop you need to redefine TProgram::initDeskTop().
See Also: TProgram
[public virtual]
Stops the execution of the application.
Suspends the program, used usually before temporary exit. By default this function is called just after the user presses Ctrl-Z to suspend the program.
[public virtual]
Restores the execution of the application.
Resumes the normal program execution. By default it is called after the user recovers the execution of the program with `fg'.
[public]
Gets the next event from the event queue.
Simply calls TProgram::getEvent().
[protected]
Constructor.
Initializes the basics of the library.
[protected virtual]
Destructor.
Documentation generated by sergio@athena.milk.it on Wed Feb 10 22:11:47 CET 1999 | Kdoc |