diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2015-08-03 23:43:03 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2015-08-03 23:43:03 (GMT) |
commit | 7607c52d6723742a4d0c6dc628d4289cec163520 (patch) | |
tree | 14f337fc3a278e367090bd37e63a2f3315edc288 /library/demos/image2.tcl | |
parent | 5d765a4a97afffd2b12b68b78a5afec19346570a (diff) | |
parent | fbbba0f8a02e82e81c36cd0cfe76373bfba6e51d (diff) | |
download | tk-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.tcl | 2 |
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" |