Contents | Index | < Browse | Browse >

  ******* c:Gui *** NOTE : NEW VERSION WITH G4C 3.6 ***

   Gui is a "LOADER" for Gui4Cli.

   *ALWAYS* use it to load your GUIs or to start up
   Gui4Cli, as it will make sure that Gui4Cli knows your
   default paths, even if started from the workbench.
   (The code to achieve this was written by Ralph Babel
   and can be found in Guis:Docs/WBPath). 

   You pass it the same options as you would pass to
   Gui4Cli, i.e. PORT, DEBUG, OUTPUT, BUFFERS etc - 
   (see  ToolType&Options  )

   It will then look if Gui4Cli is already running, and
   if it is, it will pass it the gui's filename to load,
   with the options specified.

   Otherwise, it will start-up Gui4Cli with the filename
   & options given.

   Gui4Cli will also do the same (i.e. look for itself)
   but this program is much smaller and faster.

   GUI will look for Gui4Cli in the default path of your
   system and if not found there, it will look for it
   under GUIs:Gui4Cli.

   This program is now pure and can be made resident (for
   faster loading) by putting this command in your
   user-startup file :

   > Resident c:gui pure add

   It is Workbench capable, so you can put it as the
   default tool in your  Gui4Cli program icons.

   If a gui script is started by clicking on it's icon,
   then the icon of the gui script will be read by GUI
   and any tool types found therein will be passed to
   Gui4Cli.

   Most of the tooltypes will not do anything if Gui4Cli
   is already running, but some like the PORT=NewPortName
   tooltype *will*, i.e. Gui4Cli will be started again
   under a new port name.