Skip to content

Commit 35b1ac8

Browse files
author
jan.nijtmans
committed
Merge 9.0
2 parents eb3fca5 + a46b1d9 commit 35b1ac8

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

library/bgerror.tcl

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ proc ::tk::dialog::error::bgerror {err {flag 1}} {
181181
pack $dlg.top -side top -fill both -expand 1
182182

183183
set W [ttk::frame $dlg.top.info]
184-
text $W.text -setgrid false -height 10 -wrap char \
184+
text $W.text -setgrid 0 -height 10 -wrap char \
185185
-yscrollcommand [list $W.scroll set]
186186
if {$windowingsystem ne "aqua"} {
187187
$W.text configure -width 40

library/console.tcl

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ proc ::tk::ConsoleInit {} {
145145
}
146146
::ttk::frame .consoleframe -style ConsoleFrame
147147

148-
set con [text .console -yscrollcommand [list .sb set] -setgrid true \
148+
set con [text .console -yscrollcommand [list .sb set] -setgrid 1 \
149149
-borderwidth 0 -highlightthickness 0 -font TkConsoleFont]
150150
if {[tk windowingsystem] eq "aqua"} {
151151
scrollbar .sb -command [list $con yview]

library/demos/bind.tcl

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ positionWindow $w
2020
set btns [addSeeDismiss $w.buttons $w]
2121
pack $btns -side bottom -fill x
2222

23-
text $w.text -yscrollcommand "$w.scroll set" -setgrid true \
23+
text $w.text -yscrollcommand "$w.scroll set" -setgrid 1 \
2424
-width 60 -height 24 -font $font -wrap word
2525
ttk::scrollbar $w.scroll -command "$w.text yview"
2626
pack $w.scroll -side right -fill y

library/demos/browse

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ package require tk
1515
scrollbar .scroll -command ".list yview"
1616
pack .scroll -side right -fill y
1717
listbox .list -yscroll ".scroll set" -relief sunken -width 20 -height 20 \
18-
-setgrid yes
18+
-setgrid 1
1919
pack .list -side left -fill both -expand yes
2020
wm minsize . 1 1
2121

library/demos/rmt

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ menu .menu.file.apps -postcommand fillAppsMenu
4242

4343
# Create text window and scrollbar.
4444

45-
text .t -yscrollcommand ".s set" -setgrid true
45+
text .t -yscrollcommand ".s set" -setgrid 1
4646
scrollbar .s -command ".t yview"
4747
grid .t .s -sticky nsew
4848
grid rowconfigure . 0 -weight 1

library/demos/search.tcl

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ pack $w.string.label $w.string.entry -side left
108108
pack $w.string.button -side left -pady 3p -padx 7.5p
109109
bind $w.string.entry <Return> "textSearch $w.text \$searchString search"
110110

111-
text $w.text -yscrollcommand "$w.scroll set" -setgrid true
111+
text $w.text -yscrollcommand "$w.scroll set" -setgrid 1
112112
ttk::scrollbar $w.scroll -command "$w.text yview"
113113
pack $w.file $w.string -side top -fill x
114114
pack $w.scroll -side right -fill y

library/demos/style.tcl

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pack $btns -side bottom -fill x
2424

2525
set family Courier
2626

27-
text $w.text -yscrollcommand "$w.scroll set" -setgrid true \
27+
text $w.text -yscrollcommand "$w.scroll set" -setgrid 1 \
2828
-width 70 -height 32 -wrap word -font "$family 12"
2929
ttk::scrollbar $w.scroll -command "$w.text yview"
3030
pack $w.scroll -side right -fill y

0 commit comments

Comments
 (0)