Import Tk 8.6.11
This commit is contained in:
@@ -7,7 +7,7 @@ exec wish "$0" ${1+"$@"}
|
||||
# create colors using either the RGB, HSB, or CYM color spaces
|
||||
# and apply the color to existing applications.
|
||||
|
||||
package require Tk 8.4
|
||||
package require Tk
|
||||
wm title . "Color Editor"
|
||||
|
||||
# Global variables that control the program:
|
||||
@@ -90,7 +90,7 @@ foreach i {
|
||||
grid columnconfigure . 0 -weight 1
|
||||
listbox .names.lb -width 20 -height 12 -yscrollcommand ".names.s set" \
|
||||
-exportselection false
|
||||
bind .names.lb <Double-1> {
|
||||
bind .names.lb <Double-Button-1> {
|
||||
tc_loadNamedColor [.names.lb get [.names.lb curselection]]
|
||||
}
|
||||
scrollbar .names.s -orient vertical -command ".names.lb yview"
|
||||
|
||||
Reference in New Issue
Block a user