Writing a Tcl/Tk GUI is as easy as baking a cake
Archive - Originally posted on "The Horse's Mouth" - 2005-05-12 10:32:42 - Graham EllisDesigning a Graphic User Interface in Tcl/Tk is rather like writing a recipe.
With a recipe, you start off by listing the ingredients you need ... and in Tk you start off by defining your components (a.k.a. widgets).
With a recipe, you proceed to describe how the ingredients should be combined ... in Tk terms, that's when you feed them into a geometry manager to describe the relative positions of how they should be displayed.
Finally, a recipe may including serving suggestions. In Tk, you'll descibe some events and what action to take when the event happens.