summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorhobbs <hobbs>1999-08-10 15:27:45 (GMT)
committerhobbs <hobbs>1999-08-10 15:27:45 (GMT)
commit58001043022773e21bfbfb6e0805a71f51951903 (patch)
tree2d5763166669aff5c475a9c3452c9567c4491f13 /library
parentb8cd6cd207680969577b6c57f6117462af60b265 (diff)
downloadtk-58001043022773e21bfbfb6e0805a71f51951903.zip
tk-58001043022773e21bfbfb6e0805a71f51951903.tar.gz
tk-58001043022773e21bfbfb6e0805a71f51951903.tar.bz2
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]
Diffstat (limited to 'library')
-rw-r--r--library/clrpick.tcl8
-rw-r--r--library/console.tcl4
-rw-r--r--library/tk.tcl6
3 files changed, 9 insertions, 9 deletions
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
}