Import Tk 8.6.10
This commit is contained in:
@@ -175,7 +175,7 @@ proc CreateGUI {} {
|
||||
wm withdraw $dlg
|
||||
set f [ttk::frame $dlg.f]
|
||||
set c [canvas $f.c -width 240 -height 240]
|
||||
text $f.txt -width 10 -height 1 -background white \
|
||||
text $f.txt -width 10 -height 1 \
|
||||
-yscrollcommand [list $f.vs set] -font {Arial 8}
|
||||
ttk::scrollbar $f.vs -command [list $f.txt yview]
|
||||
|
||||
@@ -200,7 +200,7 @@ proc CreateGUI {} {
|
||||
set coords [list [expr {$col * 30 + 4}] [expr {$row * 30 + 4}] \
|
||||
[expr {$col * 30 + 30}] [expr {$row * 30 + 30}]]
|
||||
$c create rectangle $coords -fill $fill -disabledfill $dfill \
|
||||
-width 2 -state disabled
|
||||
-width 2 -state disabled -outline black
|
||||
}
|
||||
}
|
||||
if {[tk windowingsystem] ne "x11"} {
|
||||
|
||||
Reference in New Issue
Block a user