home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / u_man / cat3 / Tm / tmroot.z / tmroot
Encoding:
Text File  |  1998-10-30  |  5.1 KB  |  133 lines

  1.  
  2.  
  3.  
  4. TTTTmmmmRRRRooooooootttt((((3333TTTTmmmm))))                                                        TTTTmmmmRRRRooooooootttt((((3333TTTTmmmm))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      TTTTmmmmRRRRooooooootttt - the toplevel widget ``.''
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      xtAppInitialize
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      This is the command that creates the root widget ``.''
  16.  
  17.  
  18. OOOOPPPPTTTTIIIIOOOONNNNSSSS
  19.      The function xtAppInitialize has these options
  20.           -class _c_l_a_s_s
  21.           -fallbackResources _r_e_s_o_u_r_c_e_s
  22.                These are in a tcl list, as in
  23.                     {
  24.                                {*list.visibleItemCount: 10}
  25.                                {*quit.labelString: Quit}
  26.                     }
  27.           -options _o_p_t_i_o_n_s
  28.                These set the application options. The _o_p_t_i_o_n_s  is  a  list  of
  29.                option  values.  Each option value consists of the command line
  30.                option  (such  as  -helpFile),  the  resource  name  (such   as
  31.                helpFile)  and  the  type  of  command line argument supported.
  32.                Possible values for this are
  33.                     noArg
  34.                     sepArg
  35.                     stickyArg
  36.                     resArg
  37.                     skipArg
  38.                     skipLine
  39.                For example,
  40.                     -options {
  41.                          {-helpFile helpFile sepArg}
  42.                          {-showHelp showHelp isArg}
  43.                         }
  44.  
  45.  
  46. MMMMEEEETTTTHHHHOOOODDDDSSSS
  47.      The methods supported for this widget include all the commands for the
  48.      TmCore and TmTopLevelShell widget.  In addition, these methods are also
  49.      available to the ``.'' widget
  50.           addInput
  51.           removeInput
  52.           addTimer
  53.           removeTimer
  54.           getAppResources
  55.           mainLoop
  56.           processEvent
  57.  
  58.      aaaaddddddddIIIInnnnppppuuuutttt _f_i_l_e _m_o_d_e _c_o_m_m_a_n_d
  59.           This method adds the tcl command as an input handler for the file,
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. TTTTmmmmRRRRooooooootttt((((3333TTTTmmmm))))                                                        TTTTmmmmRRRRooooooootttt((((3333TTTTmmmm))))
  71.  
  72.  
  73.  
  74.           according to the mode specified. This can be `r' for read, `w' for
  75.           write or `x' for exception. Whenever the file is ready for the
  76.           requested operation the tcl function is called to handle it.  The
  77.           command returns an XID which is an identifier for the input handler.
  78.  
  79.      rrrreeeemmmmoooovvvveeeeIIIInnnnppppuuuutttt _i_n_p_u_t_I_D
  80.           This method removes the file handler added by addInput. It takes as
  81.           argument the identifier returned from ``addInput''.
  82.  
  83.      aaaaddddddddTTTTiiiimmmmeeeerrrr _i_n_t_e_r_v_a_l _c_o_m_m_a_n_d
  84.           This method adds the tcl command to an Xt timer.  The interval is in
  85.           milliseconds.  The command returns an XID which is an identifier for
  86.           the input handler.
  87.  
  88.      rrrreeeemmmmoooovvvveeeeTTTTiiiimmmmeeeerrrr _t_i_m_e_r_I_D
  89.           This method removes the timer added by addTimer. It takes as
  90.           argument the identifier returned from ``addTimer''.  Note that if an
  91.           attempt is made to remove a timer that has gone off, Xt has
  92.           unspecified behaviour.
  93.  
  94.      ggggeeeettttAAAAppppppppRRRReeeessssoooouuuurrrrcccceeeessss _r_e_s_o_u_r_c_e_s
  95.           This extracts the application resources as set in the resource
  96.           database.  The _r_e_s_o_u_r_c_e_s argument is a list of resource sets. Each
  97.           one consists of the resource name, its class, the default value and
  98.           the name of a tcl variable to store the value in.  For example,
  99.                {
  100.                    {helpFile HelpFile "" tcl_helpFile }
  101.                    {showHelp ShowHelp 0 tcl_show}
  102.                }
  103.  
  104.      mmmmaaaaiiiinnnnLLLLoooooooopppp
  105.           This starts the Xt event processing loop
  106.  
  107.      pppprrrroooocccceeeessssssssEEEEvvvveeeennnntttt
  108.           This processes the next event,  along  with  any  timers  and  input
  109.           handlers.  It is supplied here for use in modal dialogs.
  110.  
  111.  
  112. CCCCAAAALLLLLLLLBBBBAAAACCCCKKKK SSSSUUUUBBBBSSSSTTTTIIIITTTTUUUUTTTTIIIIOOOONNNNSSSS
  113.      No additional substitutions are supported for this class.
  114.  
  115. BBBBUUUUGGGGSSSS
  116.      None known.
  117.  
  118. AAAAUUUUTTTTHHHHOOOORRRR
  119.      Jan Newmarch, University of Canberra
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.