xtpanel -quit -text '`cat all`' -message "this is a message" -button \
"this is a button" 'PRINT $val' button "hello world" -slider \
"this is a slider" 'PRINT slider value is $val' slider 5 0 10 %.0f 100 20 \
-dialog "this is a dialog" 'PRINT dialog value is $val' dialog "hello world" \
-choice "this is a choice" 'PRINT choice is $val' toggle 2 3 one 1 two \
2 three 3 -list "this is a list" 'PRINT list choice is $val' list five 6 one \
1 two 2 three 3 four 4 five 5 six 6 -menubutton "this is a menubutton" \
'PRINT menubutton choice is $val' menubutton 1 3 one 1 two 2 three 3
