|
|
|
|
SynopsisGraphical User Interface (GUI) DescriptionA Graphical User Interface (GUI; pronounced "gooey") is an alternative to command-line tool use. The purpose of a GUI is to give users an intuitive, visual interface for interacting with their data. CIAO contains a number of GUI's, as listed below. These GUI's were written with the GTK toolkit. This file describes those topics relevant to all the GUI's; for help on an individual gui use "ahelp <gui name>".
Command-line optionsAll the GUI's support the "--help" command-line option which lists the available options, as shown in this example with prism: unix% prism --help Usage: prism [OPTION...] [FILE] - launches prism, a graphical file viewer Help Options: -?, --help Show help options --help-all Show all help options --help-gtk Show GTK+ Options Application Options: -r, --rcfile Alternate configuration (rc) file -v, --version Display program version --display=DISPLAY X display to use Running CIAO Tools from a GUIAll the GUIs contain an "Analysis" menu from which tools can be launched. The CIAO distribution comes with a default setting for the menu contents - see the text file $ASCDS_INSTALL/bin/ciao.ans - but it is easy to configure a menu tailored to your own requirements. The menu format uses the same system as ds9, which means you can use the same menu in ds9 and the CIAO GUIs; see "ahelp analysis-menu" for more details. Configuring the look of the GUIsThe CIAO software may utilize a resource file to perform user dependent configuration of the GUI's. Each GUI looks for a hierarchy of GTK resource files. These configuration files contain entries for items such as foreground/background colors for various conditions (e.g. "normal" "selected"), minimum slider bar lengths, button styles, fonts and tooltip styles. A hierarchy exists regarding the name/existence of the resource files to be used. The hierarchy is: command line specification, then application specific, then ciao specific, then default (.gtkrc), and, lastly, GTK internal default values. However, if the user specified an rc file on the command line, and that rc file is invalid, the GUI's do not fall through to the other choices but go directly to the GTK internal settings.
|
![]() |
The Chandra X-Ray
Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory. 60 Garden Street, Cambridge, MA 02138 USA. Email: cxcweb@head.cfa.harvard.edu Smithsonian Institution, Copyright © 1998-2004. All rights reserved. |