previous up next print clean
Next: Simple menu Up: EXAMPLES Previous: EXAMPLES

Simple buttons

The first script puts two buttons on the screen. Pressing one button quits xtpanel; hitting the second button prints a message. Figure [*] shows the panel produced.

button={ label="QUIT" action="QUIT" }

button={ label="hit me" action="PRINT AARGH!" }

 
buttons
Figure 1
A simple panel with two buttons.
buttons
view


previous up next print clean
Next: Simple menu Up: EXAMPLES Previous: EXAMPLES
Stanford Exploration Project
11/17/1997