*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> Tm/tmroot (3)              
Title
Content
Arch
Section
 

Contents


TmRoot(3Tm)							   TmRoot(3Tm)


NAME    [Toc]    [Back]

     TmRoot - the toplevel widget ``.''

SYNOPSIS    [Toc]    [Back]

     xtAppInitialize

DESCRIPTION    [Toc]    [Back]

     This is the command that creates the root widget ``.''

OPTIONS    [Toc]    [Back]

     The function xtAppInitialize has these options
	  -class class
	  -fallbackResources resources
	       These are in a tcl list,	as in
		    {
			       {*list.visibleItemCount:	10}
			       {*quit.labelString: Quit}
		    }
	  -options options
	       These set the application options. The options  is  a  list  of
	       option  values.	Each option value consists of the command line
	       option  (such  as  -helpFile),  the  resource  name  (such   as
	       helpFile)  and  the  type  of  command line argument supported.
	       Possible	values for this	are
		    noArg
		    sepArg
		    stickyArg
		    resArg
		    skipArg
		    skipLine
	       For example,
		    -options {
			 {-helpFile helpFile sepArg}
			 {-showHelp showHelp isArg}
			}

METHODS    [Toc]    [Back]

     The methods supported for this widget include all the commands for	the
     TmCore and	TmTopLevelShell	widget.	 In addition, these methods are	also
     available to the ``.'' widget
	  addInput
	  removeInput
	  addTimer
	  removeTimer
	  getAppResources
	  mainLoop
	  processEvent

     addInput file mode	command
	  This method adds the tcl command as an input handler for the file,



									Page 1






TmRoot(3Tm)							   TmRoot(3Tm)



	  according to the mode	specified. This	can be `r' for read, `w' for
	  write	or `x' for exception. Whenever the file	is ready for the
	  requested operation the tcl function is called to handle it.	The
	  command returns an XID which is an identifier	for the	input handler.

     removeInput inputID
	  This method removes the file handler added by	addInput. It takes as
	  argument the identifier returned from	``addInput''.

     addTimer interval command
	  This method adds the tcl command to an Xt timer.  The	interval is in
	  milliseconds.	 The command returns an	XID which is an	identifier for
	  the input handler.

     removeTimer timerID
	  This method removes the timer	added by addTimer. It takes as
	  argument the identifier returned from	``addTimer''.  Note that if an
	  attempt is made to remove a timer that has gone off, Xt has
	  unspecified behaviour.

     getAppResources resources
	  This extracts	the application	resources as set in the	resource
	  database.  The resources argument is a list of resource sets.	Each
	  one consists of the resource name, its class,	the default value and
	  the name of a	tcl variable to	store the value	in.  For example,
	       {
		   {helpFile HelpFile "" tcl_helpFile }
		   {showHelp ShowHelp 0	tcl_show}
	       }

     mainLoop
	  This starts the Xt event processing loop

     processEvent
	  This processes the next event,  along	 with  any  timers  and	 input
	  handlers.  It	is supplied here for use in modal dialogs.

CALLBACK SUBSTITUTIONS    [Toc]    [Back]

     No	additional substitutions are supported for this	class.

BUGS    [Toc]    [Back]

     None known.

AUTHOR    [Toc]    [Back]

     Jan Newmarch, University of Canberra


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
tmtoplevelshell IRIX any toplevel widget.
toplevel IRIX Create and manipulate toplevel widgets
XmGetDestination IRIX A function that returns the widget ID of the widget to be used as the current destination for quick paste and
XmGetDestination HP-UX A function that returns the widget ID of the widget to be used as the current destination for quick paste and
XmGetDestination Tru64 A function that returns the widget ID of the widget to be used as the current destination for quick ...
DXmSvnGetPrimaryWorkWidget Tru64 Retrieves (returns) the identifier (widget ID) of the primary SVN work widget.
DXmSvnGetSecondaryWorkWidget Tru64 Retrieves (returns) the identifier (widget ID) of the secondary SVN work widget.
XmMainWindowSep2 IRIX A MainWindow function that returns the widget ID of the second Separator widget
XmMainWindowSep2 HP-UX A MainWindow function that returns the widget ID of the second Separator widget
XmMainWindowSep2 Tru64 A MainWindow function that returns the widget ID of the second Separator widget
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service