Last change
on this file since 37 was
37,
checked in by (none), 14 years ago
|
Added original make3d
|
-
Property svn:executable set to
*
|
File size:
515 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | # the next line restarts using wish \ |
---|
3 | exec wish8.3 "$0" "$@" |
---|
4 | |
---|
5 | # hello -- |
---|
6 | # Simple Tk script to create a button that prints "Hello, world". |
---|
7 | # Click on the button to terminate the program. |
---|
8 | # |
---|
9 | # RCS: @(#) $Id: hello,v 1.2 1998/09/14 18:23:28 stanton Exp $ |
---|
10 | # |
---|
11 | # The first line below creates the button, and the second line |
---|
12 | # asks the packer to shrink-wrap the application's main window |
---|
13 | # around the button. |
---|
14 | |
---|
15 | button .hello -text "Hello, world" -command { |
---|
16 | puts stdout "Hello, world"; destroy . |
---|
17 | } |
---|
18 | pack .hello |
---|
Note: See
TracBrowser
for help on using the repository browser.