Differences for page TkCurrent version compared with version Sat Sep 25 07:44:08 GMT 2004...
- The [Tcl] interface toolkit, which is `just' a set of new commands in Tcl which create and manipulate widgets.
- As an example, the standard `hello world' program in Tk is as follows:
+ The [Tcl] interface toolkit, which is `just` a set of new commands in Tcl which create and manipulate widgets.
+ As an example, the standard `hello world` program in Tk is as follows:
button .b -text "Hello, world!" -command exit; pack .b
- That's it! This creates a small button, with the text `hello world!' and various defaults for colours, focus highlighting, ...which when pressed simply exits+ Very simple, isn't it? This creates a small button, with the text `hello world!` and various defaults for colours,
+ focus highlighting. When pressed it simply exits. The following is the old page content
|