next up previous contents index
Next: Manager Panel Up: Implementation of the Previous: Administration of the

Main Program

   

The function main() in the file ui_main_.c performs the initialisation and creates the manager panel. It then passes the control to X with XtMainLoop(). Here is the pseudo code:

Initialize the application;
Initialize the selection list;
Initialize the display list;
Initialize the editor;
Initialize all global variables;
Load default configuration from the file default.cfg;
Create manager panel;
Pass control to X;

Loading data from the configuration file changes some global variables, therefore they must be initialized already. The X event dispatcher calls the SNNS-XGUI callback routines and event handler routines. Actions that affect the network require communication with the kernel (see also chapter gif). The following sections describe the reactions of the windows and widgets to different events.



Niels Mache
Wed May 17 11:23:58 MET DST 1995