
MISCELLANEOUS PARAMETERS
     In addition to the parameters described above, there  are  a
     number of general parameters that apply to many objects that
     customize the appearance of the object. These attributes can
     be  specified  in  an xtpanel script, or modified by xtpanel
     using the SET action. (See the section on  ACTIONS.)  Unless
     otherwise specified, these apply to all xtpanel objects.


     visible   set to true or false. Objects whose visibility  is
               set  to false will disppear. These objects are not
               destroyed, and can be made to reappear by  setting
               visibility to true.

     sensitive set to true or false. Objects whose sensitivity is
               set  to  false  will be grayed out and will not be
               selectable.

     height    height of object, in pixels.

     width     width in pixels.

     foreground
               foreground color.

     background
               background color

     borderColor
               border color.

     borderWidth
               border width in pixels.

     tab       Name of object that tab key should move cursor to,
               when tab key is pressed within the current object.

     font      text font. Appropriate for message objects only.

     orientation
               for boxes, scrollbars, choice objects. Choices are
               horizontal and vertical.

     label     for button, toggle and menubutton objects; changes
               the label that is displayed on the button.

     bitmap    for message, button, and toggle  objects.  Specify
               the  name of a file containing a bitmap.  The bit-
               map will be displayed in place of the label.

     backgroundPixmap
               For many objects, a pixmap can be displayed in the
               background.   This  requires  that the XPM library
               was available at xtpanel compilation time.

     backgroundBitmap
               Background pixmaps do not require the XPM library,
               thus  they  are a useful alternative if XPM is not
               available at your site.

     editType  for text objects only, to  indicate  whether  they
               are  read-only  are  not.  Choices are read (read-
               only), append (can add  to  text  but  not  modify
               existing text), edit (read-write).

     position  For text objects only, you can set the position of
               the  cursor.  The  value to use is the position in
               number of characters from the start of  the  file.
               This  is useful if you are sending the output of a
               long job to  a  text  object.  Using  a  timer  to
               periodically  position  the text object to the end
               of the file ensures that you  will  be  displaying
               the  most  recent  output.   It can be done with a
               timer of the form: timer={ action="SET  xxx  posi-
               tion  `echo $xxx | wc -c`" } where xxx is the name
               of the text object.

     x,y       for use only with objects that are contained in  a
               form  object  (see  section on BOXES AND FORMS for
               more details). These are the  coordinates  of  the
               upper-left  corner  of the object, relative to the
               upper-left corner  of  the  form.  Inside  a  form
               object, ALL objects must have x and y specified or
               the objects will be poorly positioned and some may
               be  obscured.  If you combine these with fromHoriz
               and fromVert (below), then x and y are relative to
               the  position  of  some  other  object, not to the
               upper left corner of the form.

     fromHoriz,fromVert
               For use in form objects. This makes the  x  and  y
               values  described above relative not to the upper-
               left corner of the form,  but  to  the  upper-left
               corner  of  another object within the form.  After
               fromHoriz or fromVert, specify the object name  of
               the  other  object.  If  you use just fromHoriz or
               fromVert with no x  or  y,  a  default  separation
               between objects of 4 pixels is used.

     state     for toggle objects, this is the state of the  tog-
               gle, true (highlighted) or false. Should be set to
               true or false; case is not important.

     onvalue,offvalue
               for  toggle  objects,  these  specify   what   the
               object's  value  will  be  if  the  toggle  is  on
               (value=onvalue) or off.

     running   for timer objects, indicates whether the timer  is
               running.  Set to true or false. For input, output,
               and pipe objects, indicates whether  the  attached
               UNIX process is running.

     interval  for timer objects, this is the interval in seconds
               between executions of the timer's actions.

     stream    for input, output, and pipe objects, this  is  the
               UNIX  command  to which xtpanel is connected. Spe-
               cial cases recognized are "none"  to  indicate  no
               process,  "stdin"  (for input and pipe objects) to
               indicate that the  object  takes  its  input  from
               xtpanel's standard input, and "stdout" (for output
               objects) to indicate that the object's output will
               go to xtpanel's standard output.

     list      list objects can have the  contents  of  the  list
               reset  using  the  SET action. The argument to SET
               should be a character string  containing  the  new
               list  entries, with the entries separated by what-
               ever separator was specified  when  the  list  was
               created.  (The  default  separators  are  either a
               space and a newline).

     columns   This is the number of columns in a list.

     hSpace,vSpace
               For box objects, this is the spacing  between  the
               objects  contained  in  the box, vertical and hor-
               izontal. The default is 4 pixels.

     min,max   For slider, scrollbar, and  graph  objects,  these
               are the values at the ends of the scrollbars.

     xmin,ymin,dx,dy
               For grid and togglegrid objects,  these  determine
               the  values  of the individual grid cells. See the
               description of these objects for  more  detail  on
               how to use them.


     These parameters include just some  of  the  many  resources
     defined  for  the  MIT  Athena  widgets,  which  are used by
     xtpanel. In the future we hope xtpanel will provide  a  more
     general method that allows the user to access all resources,
     not just those on this list.
