There are a lot of articles in http://wiki.tcl.tk/4149%|%Category GUI%|%.
This page aims to be a "newbie-friendly"-pointer to the most essential topics.
[Tcl] - the "tool-command-language". All the elements for programming (but console-only).
[Tk] - the "toolkit", an extension to tcl, for graphics, GUI, etc.
* General
* Layout:
** [Frame]
** Layout-Managers ([place], [pack], [grid])
* [Text]- and [entry] - Fields
* Buttons:
** Push-[Button]s,
** [checkbox]es
** [radiobutton]s
* [Canvas]
* graphic elements:
** [text], [line], [rect], [oval], image, etc.
** [Label]s
* [Menu]
* Control:
** [bind]
...
Pages:
* [m+] - Simple menu-system
* [Menus made easy]
* Programs with a menu:
** [iKey: a tiny multilingual keyboard] - program with a tiny menu
** [Advent Wreath] - small menu, with help&about, and radio-buttons for options
** [Ad Break Timer]
** [Black Box]
** ...
` `
* [Grid-Demos] - layouts arranged in a grid, done with pack and grid
* [Simple Canvas Demo] - put text, lines, rect, curve on a canvas
` `
* [Simple Entry Demo] - entry-fields for integers, calculate sum and product
* [IP Calculator GUI] - entry-fields for IP-addresses / uses [ttk]
* [Phone book example using Metakit] - short and simple "database" program: <
>Entry-fields for name and phone, metakit-textfile for storage, treeview with scrollbar to show the data.
` `
* [7GUIs] - a sequence of mini-applications, each highlighting a useful GUI pattern in a short implementation
* ...
...
** See also **
* Tk-Demos - forms.tcl : Simple entry-form for name, address, phone etc. <
>But it is hard to see "the useful code", with all the surrounding demo-code.
* [TkDocs]
<>GUI | Tutorial