Icon

An Icon is a graphical representation of an object or operation. Sun MTPScan uses
Icons in a variety of ways. Icons can be either interactive or indicative. 
Currently, the only interactive Icons appear at the bottom the Overview Screen 
in the IconBar. Each Icon in the IconBar represents a Screen. Each Icon is 
actually a PushButton. Click on an Icon to view that Screen (a single click will
do). On the other hand, an indicative Icon simply identifies a particular Screen
or Dialog. A click on an indicative Icon does nothing. For example, the Icon at
the top of this HelpDialog identifies this window as a HelpDialog. Virtually 
every Sun MTPScan window, be it a Screen or a Dialog, has an indicative Icon that 
identifies what the window is for. When an object can be iconified, the Icon 
appears as the image portion of the Motif icon.

None of the Icon images (except for the various Motif MessageDialog images that 
follow the Motif Style Guide) are hard-coded into Sun MTPScan. In fact, it is very 
easy to use any images you desire. All Icon images live in $XAPPLRESDIR/bitmaps 
and follow this naming convention: *.icon, where * is the name of a Screen or 
Dialog. For example, the Summary Screen's Icon image name is "summary.icon". 
You may edit this image description file with the standard X bitmap editor, 
/usr/bin/X11/bitmap, or if you prefer, create your own image and specify its 
filename as a resource value in $XAPPLRESDIR/KixScan. For example, if you 
want to use a bitmap file named "my.icon" for the Summary Screen's Icon, put the
following in the app-defaults file (and comment out the default line, as shown):

!summary_icon.labelPixmap: summary.icon
summary_icon.labelPixmap:  my.icon

See also: IconBar, PushButton
