Example 29. File 09.01-tree_attributes
#! /bin/bash export MAIN_DIALOG=' <vbox> <frame With Rules, Without Headers> <tree rules_hint="true" headers_visible="false"> <input file>tmp.text</input> <label>Device | Directory | File</label> <item stock="gtk-floppy">Floppy Disk | /floppy/ | ak.tex</item> <item stock="gtk-floppy">Floppy Disk | /floppy/ | ak.dvi</item> <item stock="gtk-floppy">Floppy Disk | /floppy/ | ak.ps</item> <item stock="gtk-floppy">Floppy Disk | /floppy/ | ak.pdf</item> <item stock="gtk-cdrom">CD_ROM Drive | /cdrom/ | </item> <height>100</height><width>400</width> <variable>TREE</variable> </tree> </frame> <frame Hover Mode> <tree hover_expand="true" hover_selection="true"> <input file>tmp.text</input> <label>Device | Directory | File</label> <item stock="gtk-floppy">Floppy Disk | /floppy/ | ak.tex</item> <item stock="gtk-floppy">Floppy Disk | /floppy/ | ak.dvi</item> <item stock="gtk-floppy">Floppy Disk | /floppy/ | ak.ps</item> <item stock="gtk-floppy">Floppy Disk | /floppy/ | ak.pdf</item> <item stock="gtk-cdrom">CD_ROM Drive | /cdrom/ | </item> <height>100</height><width>400</width> <variable>TREE</variable> </tree> </frame> <hbox> <button cancel></button> <button ok></button> </hbox> </vbox> ' gtkdialog --program=MAIN_DIALOG