summaryrefslogtreecommitdiff
path: root/iwidgets/demos/checkbox
diff options
context:
space:
mode:
Diffstat (limited to 'iwidgets/demos/checkbox')
-rw-r--r--iwidgets/demos/checkbox12
1 files changed, 12 insertions, 0 deletions
diff --git a/iwidgets/demos/checkbox b/iwidgets/demos/checkbox
new file mode 100644
index 00000000000..c405a027a8b
--- /dev/null
+++ b/iwidgets/demos/checkbox
@@ -0,0 +1,12 @@
+# ----------------------------------------------------------------------
+# DEMO: checkbox in [incr Widgets]
+# ----------------------------------------------------------------------
+package require Iwidgets 4.0
+
+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