diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | library/clrpick.tcl | 8 | ||||
-rw-r--r-- | library/console.tcl | 4 | ||||
-rw-r--r-- | library/tk.tcl | 6 |
4 files changed, 16 insertions, 9 deletions
@@ -1,3 +1,10 @@ +1999-08-10 Jeff Hobbs <hobbs@scriptics.com> + + * library/clrpick.tcl: + * library/console.tcl: + * library/tk.tcl: fixed code where abbreviations where used + in calling widget methods (confuses iWidgets) [Bug: 2422] + 1999-08-09 Jeff Hobbs <hobbs@scriptics.com> * library/button.tcl: cleaned up programming (config -> configure) diff --git a/library/clrpick.tcl b/library/clrpick.tcl index 8f08324..5fdf467 100644 --- a/library/clrpick.tcl +++ b/library/clrpick.tcl @@ -3,7 +3,7 @@ # Color selection dialog for platforms that do not support a # standard color selection dialog. # -# RCS: @(#) $Id: clrpick.tcl,v 1.4 1999/04/16 01:51:26 stanton Exp $ +# RCS: @(#) $Id: clrpick.tcl,v 1.5 1999/08/10 15:27:49 hobbs Exp $ # # Copyright (c) 1996 Sun Microsystems, Inc. # @@ -445,7 +445,7 @@ proc tkColorDialog_DrawColorScale {w c {create 0}} { [expr {[winfo height $col] + $highlightW}]\ -fill $color -outline $color] } else { - $col itemconf $l -fill $color -outline $color + $col itemconfigure $l -fill $color -outline $color incr l } } @@ -484,7 +484,7 @@ proc tkColorDialog_RedrawFinalColor {w} { set color [format "#%02x%02x%02x" $data(red,intensity) \ $data(green,intensity) $data(blue,intensity)] - $data(finalCanvas) conf -bg $color + $data(finalCanvas) configure -bg $color set data(finalColor) $color set data(selection) $color set data(finalRGB) [list \ @@ -603,7 +603,7 @@ proc tkColorDialog_ResizeColorBars {w} { } tkColorDialog_InitValues $w foreach color { red green blue } { - $data($color,col) conf -width $data(canvasWidth) + $data($color,col) configure -width $data(canvasWidth) tkColorDialog_DrawColorScale $w $color 1 } } diff --git a/library/console.tcl b/library/console.tcl index 0ea7716..baf9812 100644 --- a/library/console.tcl +++ b/library/console.tcl @@ -4,7 +4,7 @@ # can be used by non-unix systems that do not have built-in support # for shells. # -# RCS: @(#) $Id: console.tcl,v 1.5 1999/05/22 01:59:21 stanton Exp $ +# RCS: @(#) $Id: console.tcl,v 1.6 1999/08/10 15:27:49 hobbs Exp $ # # Copyright (c) 1998-1999 Scriptics Corp. # Copyright (c) 1995-1997 Sun Microsystems, Inc. @@ -70,7 +70,7 @@ proc tkConsoleInit {} { -command tkConsoleAbout } - . conf -menu .menubar + . configure -menu .menubar text .console -yscrollcommand ".sb set" -setgrid true scrollbar .sb -command ".console yview" diff --git a/library/tk.tcl b/library/tk.tcl index a97f041..90e9f66 100644 --- a/library/tk.tcl +++ b/library/tk.tcl @@ -3,7 +3,7 @@ # Initialization script normally executed in the interpreter for each # Tk-based application. Arranges class bindings for widgets. # -# RCS: @(#) $Id: tk.tcl,v 1.8 1999/06/25 23:30:25 welch Exp $ +# RCS: @(#) $Id: tk.tcl,v 1.9 1999/08/10 15:27:49 hobbs Exp $ # # Copyright (c) 1992-1994 The Regents of the University of California. # Copyright (c) 1994-1996 Sun Microsystems, Inc. @@ -222,8 +222,8 @@ proc tkCancelRepeat {} { proc tkTabToWindow {w} { if {![string compare [winfo class $w] Entry]} { - $w select range 0 end - $w icur end + $w selection range 0 end + $w icursor end } focus $w } |