summaryrefslogtreecommitdiffstats
path: root/library/demos/entry2.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/entry2.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/entry2.tcl')
-rw-r--r--library/demos/entry2.tcl6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/demos/entry2.tcl b/library/demos/entry2.tcl
index d0ca35a..9e3f4ef 100644
--- a/library/demos/entry2.tcl
+++ b/library/demos/entry2.tcl
@@ -27,15 +27,15 @@ frame $w.frame -borderwidth 10
pack $w.frame -side top -fill x -expand 1
entry $w.frame.e1 -xscrollcommand "$w.frame.s1 set"
-scrollbar $w.frame.s1 -relief sunken -orient horiz -command \
+ttk::scrollbar $w.frame.s1 -orient horiz -command \
"$w.frame.e1 xview"
frame $w.frame.spacer1 -width 20 -height 10
entry $w.frame.e2 -xscrollcommand "$w.frame.s2 set"
-scrollbar $w.frame.s2 -relief sunken -orient horiz -command \
+ttk::scrollbar $w.frame.s2 -orient horiz -command \
"$w.frame.e2 xview"
frame $w.frame.spacer2 -width 20 -height 10
entry $w.frame.e3 -xscrollcommand "$w.frame.s3 set"
-scrollbar $w.frame.s3 -relief sunken -orient horiz -command \
+ttk::scrollbar $w.frame.s3 -orient horiz -command \
"$w.frame.e3 xview"
pack $w.frame.e1 $w.frame.s1 $w.frame.spacer1 $w.frame.e2 $w.frame.s2 \
$w.frame.spacer2 $w.frame.e3 $w.frame.s3 -side top -fill x