[ Basic Info | References | User Guide ]

Basic Information on xpanel


Task: xpanel
Purpose: X-window control panel program
Categories: tools

XPanel is a TCP/IP server based on X-windows, which listens for
connections from the Miriad "ctrl" routines, constructs a control
panel according to commands from the Ctrl routines, and allows the
user and programmer to communicate through the control panel.

See the Miriad Programmers manual for documentation of the Ctrl
routines.

For X users familiar with application resources, the user may
set up characteristics for individual panel items.  The Widget
tree layout used by Xpanel is shown below:
        Level 1:
        Top level shell:        "Xpanel"

        Level 2:
        Child of "Xpanel":      "Miriad Control Panel" (PopupShell)

        Level 3:
        Child of "Miriad Control Panel":        "panel"      (formWidget)

        Level 4:
        Children of "panel":    "button"     (commandWidget)
                                "list"       (commandWidget)
                                "status"     (labelWidget)
                                "slider"     (formWidget)
                                "cursor"     (coreWidget)

        Level 5:
        Child of "list":        "ButtonList" (transientWidget)

        Children of "slider":   "Slab"       (labelWidget)
                                "Sval"       (labelWidget)
                                "Smin"       (labelWidget)
                                "Scroll"     (scrollbarWidget)
                                "Smax"       (labelWidget)

        Level 6:
        Child of "ButtonList":  "MenuBox"    (boxWidget)

        Level 7:
        Child of "MenuBox":     list entry  (commandWidget)

In addition to the above widget items, there are application
resources that the user may set in their application file or
on the command line.  In addition to the usual X-window resources,
Xpanel provides the following resources, along with their defaults:

   *cursorForeground:   "XtDefaultForeground" (Fore/Background color of)
   *cursorBackground:   "XtDefaultBackground" (... cursor in coreWidget)
   *noIconic:           False             (Start application non-iconic)
   *Font:               "9x15"                   (Font used for strings)
   *portNumber:         5001       (Port number used for communications)
 

User Guide References to xpanel

[ Basic Info | References | User Guide ]

Generated by smamiriad@cfa.harvard.edu on 09 Jul 2012