summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-15 09:21:33 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-15 09:21:33 (GMT)
commit51da8fabbfe52df8ccaa273c48fcf127f35f79fd (patch)
treefa8d7fd8ec6c46a60edbcd104dee57fe6b04a428 /library
parentbcfb5cf04dd1e5c610197f217a8e2a31109194cd (diff)
parentc40f0f6cefb57728ba9162a8509918ae31fd2210 (diff)
downloadtk-51da8fabbfe52df8ccaa273c48fcf127f35f79fd.zip
tk-51da8fabbfe52df8ccaa273c48fcf127f35f79fd.tar.gz
tk-51da8fabbfe52df8ccaa273c48fcf127f35f79fd.tar.bz2
Merge 8.6
Diffstat (limited to 'library')
-rw-r--r--library/demos/knightstour.tcl2
-rw-r--r--library/demos/tcolor2
-rw-r--r--library/iconlist.tcl2
-rw-r--r--library/megawidget.tcl2
4 files changed, 4 insertions, 4 deletions
diff --git a/library/demos/knightstour.tcl b/library/demos/knightstour.tcl
index 20e3d04..11b3b5c 100644
--- a/library/demos/knightstour.tcl
+++ b/library/demos/knightstour.tcl
@@ -21,7 +21,7 @@
# If you let it repeat then it will choose random start positions
# for each new tour.
-package require Tk 8.5
+package require Tk
# Return a list of accessible squares from a given square
proc ValidMoves {square} {
diff --git a/library/demos/tcolor b/library/demos/tcolor
index 64e1a53..0aa133b 100644
--- a/library/demos/tcolor
+++ b/library/demos/tcolor
@@ -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:
diff --git a/library/iconlist.tcl b/library/iconlist.tcl
index a7acffa..a19dbeb 100644
--- a/library/iconlist.tcl
+++ b/library/iconlist.tcl
@@ -26,7 +26,7 @@
# <path> selection includes <item>
# <path> selection set <first> ?<last>?
-package require Tk 8.6
+package require Tk
::tk::Megawidget create ::tk::IconList ::tk::FocusableWidget {
variable w canvas sbar accel accelCB fill font index \
diff --git a/library/megawidget.tcl b/library/megawidget.tcl
index aeb1263..ec9f469 100644
--- a/library/megawidget.tcl
+++ b/library/megawidget.tcl
@@ -10,7 +10,7 @@
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-package require Tk 8.6
+package require Tk
::oo::class create ::tk::Megawidget {
superclass ::oo::class