TABLE OF CONTENTS


GUI

NAME

::guib::GUI -- a class for constructing a complex GUI for the real applications

USAGE

::guib::GUI $objname \

               -title   "title that appears in the mainwondow" \
               -appname "short name of application"

$objname addModule module ident modulename moduleFile fileTypes $objname addHelp help helpName helpEntrymenuText helpFile

Where the fileTypes if of form:

      set fileTypes {  
         {{X input file} {*.x.inp}  }  
         {{description}  {extension}}  
         {{...}          {...}
      }

DESCRIPTION

This class is used by real applications to construct the GUI's main window with menu, toolbar, etc...

METHODS

1. Public methods

      activate  -- 
      addModule -- 
      addHelp   -- 
      newGUI    -- 
      component -- 
      extra     -- 
      save      -- 
      saveAs    -- 

2. Protected/Private methods

      2.1 Menu methods
         _newInput    -- 
         _openInput   -- 
         _closeTab    -- 
         _closeWindow -- 
         _help        --

      2.2 Toolbar methods    
         _toolbarNew      -- 
         _toolbarOpen     -- 
         __toolbarNewOpen -- 
         _toolbarCmd      -- 

      2.3 Other methods (state of the menus, tabs ...)
         _toplevelTitle      --
         _mainwindowState    --
         _selectedTab        --
         __createNotebook    --
         __setCurrentTabName --