summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authornijtmans <nijtmans>2009-03-25 23:27:09 (GMT)
committernijtmans <nijtmans>2009-03-25 23:27:09 (GMT)
commit5a34c96d286d804fdd67a94c1d475b9188ec469d (patch)
tree4d3b5904b3621febb5d5ea054f7a8d14441683e3 /library
parent6e45c77b9e39f3821b86a7d767a179e1f8275984 (diff)
downloadtk-5a34c96d286d804fdd67a94c1d475b9188ec469d.zip
tk-5a34c96d286d804fdd67a94c1d475b9188ec469d.tar.gz
tk-5a34c96d286d804fdd67a94c1d475b9188ec469d.tar.bz2
bring doc and demos in line with http://wiki.tcl.tk/812
Diffstat (limited to 'library')
-rw-r--r--library/demos/hello4
-rw-r--r--library/demos/rmt4
-rw-r--r--library/demos/square4
-rw-r--r--library/demos/tcolor4
-rw-r--r--library/demos/timer4
-rw-r--r--library/demos/widget4
6 files changed, 12 insertions, 12 deletions
diff --git a/library/demos/hello b/library/demos/hello
index 6461f46..7c47669 100644
--- a/library/demos/hello
+++ b/library/demos/hello
@@ -1,12 +1,12 @@
#!/bin/sh
# the next line restarts using wish \
-exec wish "$0" "$@"
+exec wish "$0" ${1+"$@"}
# hello --
# Simple Tk script to create a button that prints "Hello, world".
# Click on the button to terminate the program.
#
-# RCS: @(#) $Id: hello,v 1.4 2003/09/30 14:54:30 dkf Exp $
+# RCS: @(#) $Id: hello,v 1.5 2009/03/25 23:27:09 nijtmans Exp $
package require Tk
diff --git a/library/demos/rmt b/library/demos/rmt
index 41cee5c..13b7ac9 100644
--- a/library/demos/rmt
+++ b/library/demos/rmt
@@ -1,13 +1,13 @@
#!/bin/sh
# the next line restarts using wish \
-exec wish "$0" "$@"
+exec wish "$0" ${1+"$@"}
# rmt --
# This script implements a simple remote-control mechanism for
# Tk applications. It allows you to select an application and
# then type commands to that application.
#
-# RCS: @(#) $Id: rmt,v 1.6 2007/12/13 15:27:07 dgp Exp $
+# RCS: @(#) $Id: rmt,v 1.7 2009/03/25 23:27:14 nijtmans Exp $
package require Tcl 8.4
package require Tk
diff --git a/library/demos/square b/library/demos/square
index 743148d..8bcb5a7 100644
--- a/library/demos/square
+++ b/library/demos/square
@@ -1,6 +1,6 @@
#!/bin/sh
# the next line restarts using wish \
-exec wish "$0" "$@"
+exec wish "$0" ${1+"$@"}
# square --
# This script generates a demo application containing only a "square"
@@ -11,7 +11,7 @@ exec wish "$0" "$@"
# Button-1 press/drag: moves square to mouse
# "a": toggle size animation on/off
#
-# RCS: @(#) $Id: square,v 1.3 2003/09/30 14:54:30 dkf Exp $
+# RCS: @(#) $Id: square,v 1.4 2009/03/25 23:27:13 nijtmans Exp $
package require Tk ;# We use Tk generally, and...
package require Tktest ;# ... we use the square widget too.
diff --git a/library/demos/tcolor b/library/demos/tcolor
index b695c60..c92de1c 100644
--- a/library/demos/tcolor
+++ b/library/demos/tcolor
@@ -1,13 +1,13 @@
#!/bin/sh
# the next line restarts using wish \
-exec wish "$0" "$@"
+exec wish "$0" ${1+"$@"}
# tcolor --
# This script implements a simple color editor, where you can
# create colors using either the RGB, HSB, or CYM color spaces
# and apply the color to existing applications.
#
-# RCS: @(#) $Id: tcolor,v 1.6 2007/12/13 15:27:07 dgp Exp $
+# RCS: @(#) $Id: tcolor,v 1.7 2009/03/25 23:27:14 nijtmans Exp $
package require Tk 8.4
wm title . "Color Editor"
diff --git a/library/demos/timer b/library/demos/timer
index 99e6f4c..b4ed74a 100644
--- a/library/demos/timer
+++ b/library/demos/timer
@@ -1,11 +1,11 @@
#!/bin/sh
# the next line restarts using wish \
-exec wish "$0" "$@"
+exec wish "$0" ${1+"$@"}
# timer --
# This script generates a counter with start and stop buttons.
#
-# RCS: @(#) $Id: timer,v 1.4 2003/09/30 14:54:30 dkf Exp $
+# RCS: @(#) $Id: timer,v 1.5 2009/03/25 23:27:12 nijtmans Exp $
package require Tcl 8.4
package require Tk
diff --git a/library/demos/widget b/library/demos/widget
index f4f21b1..2a775e1 100644
--- a/library/demos/widget
+++ b/library/demos/widget
@@ -1,6 +1,6 @@
#!/bin/sh
# the next line restarts using wish \
-exec wish "$0" "$@"
+exec wish "$0" ${1+"$@"}
# widget --
# This script demonstrates the various widgets provided by Tk, along with many
@@ -10,7 +10,7 @@ exec wish "$0" "$@"
# separate ".tcl" files is this directory, which are sourced by this script as
# needed.
#
-# RCS: @(#) $Id: widget,v 1.54 2008/12/20 01:33:59 das Exp $
+# RCS: @(#) $Id: widget,v 1.55 2009/03/25 23:27:14 nijtmans Exp $
package require Tcl 8.5
package require Tk 8.5