button={ label=quit action=QUIT }
hbox={ 
 button={ label="sensitive" action="ASSIGN temp sensitive true" 
	action="SET testbutton sensitive True"
 }
 button={ label="insensitive" action="ASSIGN temp sensitive false" 
	action="SET testbutton sensitive False"
 }
 button={ label="visible" action="SET thebox visible true" }
 button={ label="invisible" action="SET thebox visible false" }
 button={ label="bg red" action="ASSIGN temp background red" }
 button={ label="fg yellow" action="ASSIGN temp foreground yellow" }
 button={ label="bd orange" action="ASSIGN temp borderColor orange" }
 var={ name=temp
  action="EVAL SET testbutton $val"
  action="EVAL SET testtoggle $val"
  action="EVAL SET testdialog $val"
  action="EVAL SET testlist $val"
  action="EVAL SET testmenub $val"
  action="EVAL SET testmessage $val"
  action="EVAL SET testslider $val"
  action="EVAL SET testchoice $val"
 }
}
vbox={ name=thebox width=600
message={ name=testmessage value="this is a message" }
button={ name=testbutton label="this is a button" }
toggle={ name=testtoggle label="this is a toggle" }
menubutton={ name=testmenub label="this is a menubutton" 
	 action="PRINT choice is $val"
         item={ label=one value=1 }
         item={ label=two value=2 }
         item={ label=three value=3 }
       }
dialog={ name=testdialog label="this is a dialog" value="hello world" 
	action="PRINT $val" }
list={ name=testlist label=colors value="255 0 0" action="PRINT color is $val"
         item={ label=red value="255 0 0" }
         item={ label=green value="0 255 0" }
         item={ label=blue value="0 0 255" }
         item={ label=cyan value="0 255 255" }
         item={ label=yellow value="255 255 0" }
         item={ label=magenta value="255 0 255" }
         item={ label=black value="0 0 0" }
         item={ label=white value="255 255 255" }
       }
slider={ name=testslider label="this is a slider" min=0 max=100 value=50 
	format="%.2f" width=300
	action="PRINT slider value is $val" }
choice={ name=testchoice label=colors action="PRINT choice is $val"
         itemlist={ list="red green blue" }
       }
}
