diff options
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | doc/wish.1 | 4 | ||||
-rw-r--r-- | library/demos/hello | 4 | ||||
-rw-r--r-- | library/demos/rmt | 4 | ||||
-rw-r--r-- | library/demos/square | 4 | ||||
-rw-r--r-- | library/demos/tcolor | 4 | ||||
-rw-r--r-- | library/demos/timer | 4 | ||||
-rw-r--r-- | library/demos/widget | 4 |
8 files changed, 24 insertions, 14 deletions
@@ -1,3 +1,13 @@ +2009-03-25 Jan Nijtmans <nijtmans@users.sf.net> + + * doc/wish.1 bring doc and demos in line with http://wiki.tcl.tk/812 + * library/demos/hello + * library/demos/rmt + * library/demos/square + * library/demos/tcolor + * library/demos/timer + * library/demos/widget + 2009-03-25 Donal K. Fellows <dkf@users.sf.net> * generic/ttk/ttkTheme.c (BuildOptionMap, NewElementClass): @@ -5,7 +5,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: wish.1,v 1.11 2008/06/30 22:57:03 dkf Exp $ +'\" RCS: @(#) $Id: wish.1,v 1.12 2009/03/25 23:27:23 nijtmans Exp $ '\" .so man.macros .TH wish 1 8.0 Tk "Tk Applications" @@ -166,7 +166,7 @@ following three lines: .CS \fB#!/bin/sh # the next line restarts using wish \e -exec wish "$0" "$@"\fR +exec wish "$0" ${1+"$@"}\fR .CE This approach has three advantages over the approach in the previous paragraph. First, the location of the \fBwish\fR binary does not have 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 |