
button={ label=QUIT action=QUIT }

text={ value="This panel lets you examine and run the example files.\n\
Highlight a file in the list and then choose \n\
""Look at file"" to see the file, \nor ""Run file"" to run it." }

hbox={ name=noborder

vbox={ 
message={ value="These examples use xtpanel script files" }
list={ name=choice1 label="Choose a file" 
       itemlist={ list=`cd script; echo  *`} }

hbox={ name=noborder
button={ label="Look at file" 
        action="cd script; xterm -T $choice1 -e view $choice1 &" }

button={ label="Run file" action="cd script; xtpanel < $choice1 &" }
}
}

vbox={
message={ value="These examples are run from the command line" }

list={ name=choice2 label="Choose a file" 
	itemlist={ list=`cd commandline; echo  *`} }

hbox={ name=noborder
button={ label="Look at file" 
	action="cd commandline; xterm -T $choice2 -e view $choice2 &" }

button={ label="Run file" action="cd commandline; sh $choice2 &" }
}
}

}
