summaryrefslogtreecommitdiffstats
path: root/library/demos/image2.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)
commit7607c52d6723742a4d0c6dc628d4289cec163520 (patch)
tree14f337fc3a278e367090bd37e63a2f3315edc288 /library/demos/image2.tcl
parent5d765a4a97afffd2b12b68b78a5afec19346570a (diff)
parentfbbba0f8a02e82e81c36cd0cfe76373bfba6e51d (diff)
downloadtk-7607c52d6723742a4d0c6dc628d4289cec163520.zip
tk-7607c52d6723742a4d0c6dc628d4289cec163520.tar.gz
tk-7607c52d6723742a4d0c6dc628d4289cec163520.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/image2.tcl')
-rw-r--r--library/demos/image2.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/demos/image2.tcl b/library/demos/image2.tcl
index a17da31..2d7ba03 100644
--- a/library/demos/image2.tcl
+++ b/library/demos/image2.tcl
@@ -92,7 +92,7 @@ pack $w.dir.b -side left -fill y -padx {0 2m} -pady 2m
labelframe $w.f -text "File:" -padx 2m -pady 2m
listbox $w.f.list -width 20 -height 10 -yscrollcommand "$w.f.scroll set"
-scrollbar $w.f.scroll -command "$w.f.list yview"
+ttk::scrollbar $w.f.scroll -command "$w.f.list yview"
pack $w.f.list $w.f.scroll -side left -fill y -expand 1
$w.f.list insert 0 earth.gif earthris.gif teapot.ppm
bind $w.f.list <Double-1> "loadImage $w %x %y"