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 | 9f976792239fa11da36f575e206bd8e6f1cc0045 (patch) | |
tree | 14f337fc3a278e367090bd37e63a2f3315edc288 /library/demos/image2.tcl | |
parent | 711293f0de32d7ac484234fbafab614b20898d7e (diff) | |
parent | 47ca3a5ac9ec9e2f21a3efeb9bb4bda85526a3e7 (diff) | |
download | tk-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/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" |