PreferencesDialog

The PreferencesDialog (PD) is a Dialog that allows you to modify and save
Sun MTPScan Preferences. You may set and save Preferences for the Summary Screen and
for each Sun MTP system. Preferences include minimum and maximum boundary 
behavior for KxHistograms, update interval control, and filename pattern 
control for Sun MTPScan's FSDs. 

There are three types of Preferences: integer, boolean, and string. Set an 
integer value with a Scale. Flip a boolean value with a ToggleButton. Edit a 
string with a TextField. All three of these are standard Motif widgets.

Use the buttons at the bottom of the PD to affect Sun MTPScan's behavior. After 
changing one or more Preferences, snap the Apply or Ok button to Apply the 
change(s). After a successful Apply, Sun MTPScan uses the new value(s). The Ok 
button also dismisses the PD after Sun MTPScan Applies the change(s). Neither of
these buttons save the change(s) to a Preferences File. Choose the Save button
to explicitly request a save. If the Preferences File already exists, Sun MTPScan
prompts you to make sure you want to overwrite the file. Note that Sun MTPScan 
always saves all of the Preferences, not just the changed one(s). Sun MTPScan saves 
the Preferences into a file called kixscan.prefs. To simplify processing the
Preferences, you cannot change the name or location of this file. The file goes 
into $UNIKIX for the Summary Screen's Preferences, and into $KIXSYS for each 
Sun MTP System. Thus, there are multiple Preferences files. There is always one
just for Sun MTPScan, and then one for each Sun MTP system that you monitor.

The Default button sets all Preference values to built-in defaults. This button
does not Apply these values. You must click both the Default and Apply (or Ok)
buttons, in that order, to Apply the default values. The Cancel button dismisses
the PD and disregards all values not yet applied.

See also: Dialog, Preferences, PushButton, Scale, TextField, ToggleButton
