lupe_evthandler.pro


Name:
lupe_evthandler
Description:
The menu event handler which takes care of mapping and unmapping
of modules and possible exclusiveness of a module.
Module types are
'noui'
for modules that don't need a UI to run or handle their user
interaction exclusively during readyToExecute (e.g. mod_exit)
'top'
for modules that open their own top level window.
'embedded'
modules that map themselves into the main window are 'embedded'
'noui' and 'top' modules may declare themselves as exclusive. In
The case of 'noui' modules, this will cause all other modules to
unmap before execution of the 'noui' module.
As for 'top' modules, execution of an 'exclusive' top module will
unmap all other currently mapped top-level modules.
'embedded' modules are always exclusive, as a possibly currently
active embedded module needs to be unmapped first.
As of now, exclusiveness is only used for mod_exit, as it will
make all modules to cleanly unmap (and thus cleanup) before
program exit.

Name:
lupe_evthandlerInformUnmap
Description:
Called by the unmap method from the modules to inform the eventhandler.
Remove module from top-level list (if it was in there) and display
the logo (if the unmapped module was of embedded type and *not* the
logo of course)

Last modified: Fri Oct 29 07:19:18 2004