HP 64782 User Manual page 335

For the graphical user interface
Hide thumbs Also See for 64782:
Table of Contents

Advertisement

Setting X Resources
To set up demos or tutorials
Create the demo or tutorial index file.
2
Each line in the index file contains first a quoted string that is the name of
the topic which appears in the index popup and second the name of the file
that is raised when the topic is selected. For example:
"About demos"
"Loading programs"
"Running programs"
You can use absolute paths (for example, /users/guest/topic1), paths relative
to the directory in which the interface was started (for example,
mydir/topic2), or paths relative to the product directory (for example,
./Xdemo/general where the product directory is something like
/usr/hp64000/inst/emul/64742A).
Set the "*enableDemo" or "*enableTutorial" resource to "True".
3
Define the demo index file by setting the "*demoPopupSub.indexFile"
4
or "*tutorialPopupSub.indexFile" resource.
For example:
*demoPopupSub.indexFile:
You can use absolute paths (for example, /users/guest/Index), paths relative
to the directory in which the interface was started (for example,
mydir/indexfile), or paths relative to the product directory (for example,
./Xdemo/Index-topics where the product directory is something like
/usr/hp64000/inst/emul/64742A).
If you wish to define a default topic to be selected, set the
5
"*demoTopic" or "*tutorialTopic" resource to the topic string.
For example:
*demoTopic:
"About demos"
Refer to the previous "To customize Graphical User Interface resources"
section for more detailed information on modifying resources.
334
/users/guest/gui_demos/general
/users/guest/gui_demos/loadprog
/users/guest/gui_demos/runprog
/users/guest/gui_demos/index

Advertisement

Table of Contents
loading

Table of Contents