summaryrefslogtreecommitdiffstats
path: root/library/demos/items.tcl
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-08-03 23:43:03 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-08-03 23:43:03 (GMT)
commit9f976792239fa11da36f575e206bd8e6f1cc0045 (patch)
tree14f337fc3a278e367090bd37e63a2f3315edc288 /library/demos/items.tcl
parent711293f0de32d7ac484234fbafab614b20898d7e (diff)
parent47ca3a5ac9ec9e2f21a3efeb9bb4bda85526a3e7 (diff)
downloadtk-9f976792239fa11da36f575e206bd8e6f1cc0045.zip
tk-9f976792239fa11da36f575e206bd8e6f1cc0045.tar.gz
tk-9f976792239fa11da36f575e206bd8e6f1cc0045.tar.bz2
Fix [6fe75131c546226b]: doc: tk_messageBox (mac).
Use ttk::scrollbar in stead of scrollbar in various demo's. (ported from androwish branch)
Diffstat (limited to 'library/demos/items.tcl')
-rw-r--r--library/demos/items.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/demos/items.tcl b/library/demos/items.tcl
index 177e9a4..000e4cb 100644
--- a/library/demos/items.tcl
+++ b/library/demos/items.tcl
@@ -31,8 +31,8 @@ canvas $c -scrollregion {0c 0c 30c 24c} -width 15c -height 10c \
-relief sunken -borderwidth 2 \
-xscrollcommand "$w.frame.hscroll set" \
-yscrollcommand "$w.frame.vscroll set"
-scrollbar $w.frame.vscroll -command "$c yview"
-scrollbar $w.frame.hscroll -orient horiz -command "$c xview"
+ttk::scrollbar $w.frame.vscroll -command "$c yview"
+ttk::scrollbar $w.frame.hscroll -orient horiz -command "$c xview"
grid $c -in $w.frame \
-row 0 -column 0 -rowspan 1 -columnspan 1 -sticky news