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

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

Contents


TmCommand(3Tm)							TmCommand(3Tm)


NAME    [Toc]    [Back]

     TmCommand - the Command widget class

SYNOPSIS    [Toc]    [Back]

     xmCommand	pathName [options]

DESCRIPTION    [Toc]    [Back]

     This is the tcl binding to	the Motif Command widget.

CLASSES    [Toc]    [Back]

     The class name for	resource files is XmCommand. Resources are inherited
     from TmSelectionBox, TmBulletinBoard, TmManager, TmCore. Methods are
     inherited from TmCore.

RESOURCES    [Toc]    [Back]

     The new resources are

	  command
	  historyMaxItems
	  historyVisibleItemCount
	  promptString

     command
	  The value for	this resource is the string displayed in the command
	  area.	 NB There seems	to be a	Motif bug that makes this resource
	  useless.

METHODS    [Toc]    [Back]

     New methods for this class	are

	  appendValue
	  error
	  commandChangedCallback
	  commandEnteredCallback


     appendValue  command
	  appends the command to the string shown in the command area


     error  error
	  displays the error message in	the history area


     setValue  value
	  replaces the string displayed	in the command area







									Page 1






TmCommand(3Tm)							TmCommand(3Tm)


CALLBACK SUBSTITUTIONS    [Toc]    [Back]

     The substitutions supported for this class	are:
	  %reason -the aditional values	are
	       command_changed
	       command_entered
	  %value - the string showing in the command window

BUGS    [Toc]    [Back]

     A Motif (1.2.1) bug makes the command resource always show	as an empty
     string, so	you have to use	the %value substitution	in a callback.

AUTHOR    [Toc]    [Back]

     Jan Newmarch, University of Canberra


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
VkCmd IRIX the simplest command class
runclass Tru64 Runs a command in a specific scheduling class
tmtext IRIX the Text widget class
tmspinbox IRIX the SpinBox widget class
tmsgithumbwheel IRIX the SGI sgThumbWheel widget class
tmsgipanel IRIX the SGI IconPanel widget class
tmtogglebutton IRIX the ToggleButton widget class
XmToggleButton Tru64 The ToggleButton widget class
XmToggleButtonGadget Tru64 The ToggleButtonGadget widget class
ApplicationShell IRIX The ApplicationShell widget class
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service