TmCommand(3Tm)

TmCommand - the Command widget class

As shipped in IRIX 6.5.30. Unchanged since IRIX 6.5.

NAME
     TmCommand - the Command widget class

SYNOPSIS
     xmCommand  pathName [options]

DESCRIPTION
     This is the tcl binding to the Motif Command widget.

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


RESOURCES
     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
     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
CALLBACK SUBSTITUTIONS
     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
     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
     Jan Newmarch, University of Canberra