TmCommand(3Tm) TmCommand(3Tm)
TmCommand - the Command widget class
xmCommand pathName [options]
This is the tcl binding to the Motif Command widget.
The class name for resource files is XmCommand. Resources are inherited
from TmSelectionBox, TmBulletinBoard, TmManager, TmCore. Methods are
inherited from TmCore.
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.
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
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.
Jan Newmarch, University of Canberra
PPPPaaaaggggeeee 2222 [ Back ]
|