diff options
Diffstat (limited to 'Master/tlpkg/tltcl/lib/tk8.6/demos/tcolor')
-rwxr-xr-x | Master/tlpkg/tltcl/lib/tk8.6/demos/tcolor | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/tlpkg/tltcl/lib/tk8.6/demos/tcolor b/Master/tlpkg/tltcl/lib/tk8.6/demos/tcolor index 3f34a32f12e..f4be463ad0b 100755 --- a/Master/tlpkg/tltcl/lib/tk8.6/demos/tcolor +++ b/Master/tlpkg/tltcl/lib/tk8.6/demos/tcolor @@ -7,7 +7,7 @@ exec wish86 "$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" |