Modules | |
Example 1.1 of the tutorial : Create and handle a window | |
Create, open and handle a blank window in a GEM environment. | |
Example 1.2 of the tutorial : Window drawing callback | |
Create, open and handle a proportional window. | |
Example 1.3 of the tutorial : Controling events | |
More events, best terminaison. | |
Example 2.1 of the tutorial : Controling window sliders | |
Example 2.2 of the tutorial : Adding GEM desktop | |
Example 2.3 of the tutorial : Menu and toolbar in windows |
Definition (Callback function)
A function defined by the programmer but executed by WinDom core is called a callback function. For example, all GEM event can be handled by callback functions.
Defintion (Standard callback function)
Standard callack functions are callback function predefined by WinDom during its initialization i.e. during the call of ApplInit(). For example, all events related to window have a standard callback function (see manual of WindCreate()).
% make ; to compile all tutorials
% make tut-1-1 ; to compile this tutorial
There are special switches :
% make CROSS=yes ; switch to add for cross-compiling % make clean ; cleaning the directory
The second group of examples deals with more complex windows