diff options
Diffstat (limited to 'itcl/iwidgets3.0.0/demos/checkbox')
-rwxr-xr-x | itcl/iwidgets3.0.0/demos/checkbox | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/itcl/iwidgets3.0.0/demos/checkbox b/itcl/iwidgets3.0.0/demos/checkbox new file mode 100755 index 00000000000..fe3fa8adc53 --- /dev/null +++ b/itcl/iwidgets3.0.0/demos/checkbox @@ -0,0 +1,18 @@ +#!/bin/sh +# ---------------------------------------------------------------------- +# DEMO: checkbox in [incr Widgets] +# ---------------------------------------------------------------------- +#\ +exec itkwish "$0" ${1+"$@"} +package require Iwidgets 3.0 + +# +# Demo script for the Checkbox class +# +iwidgets::checkbox .cb -labeltext Styles +.cb add bold -text Bold +.cb add italic -text Italic +.cb add underline -text Underline +.cb select underline + +pack .cb -padx 10 -pady 10 -fill both -expand yes |