Arjen Markus (10 june 2005) With the Tcl tutorial getting mature, it is time to do the same for Tk, IMO. This page is meant to record the structure/contents of such a tutorial.
RLH If you need any Windows side-of-the-house screenshots, let me know.
Introduction: what is Tk? Include a small example that shows the flavour of Tk programming - something like:
Chapter 2: Overview of widgets
Chapter 3: Managing toplevels
Chapter 4: Menubars
Chapter 5: Selecting files, using message boxes, etc.
Chapter 6: Geometry management, also frames
Chapter 7: Using simple widgets
Chapter 8: Using scrollbars
Chapter 9: The text widget
Chapter 10: The canvas widget
Chapter 11: Keeping your GUI alive
Chapter 12: Event handling
Chapter 13: Colours and fonts
Chapter 14: Images
Chapter 15: Meta-widgets
Chapter 16: The option database
Chapter 17: Tk beauty farm - how to make your app pretty -- RLH shares his thoughts: This should weave all the way through the tutorial -- EKB could/should usability also be woven through the tutorial? -- schlenk I think some basic techniques for beautifying Tk apps should be mentioned in all appropriate places, but sure would be good to collect advanced techniques in a separate section.
Examples, examples, examples...
... to be continued ...
escargo 14 Jun 2005 - I have been reexperiencing the Joy of Tclets again, since the Tcl Plugin now can be deployed on Firefox. Perhaps the Tk tutorial can be made into an interactive web-based tutorial with working examples using the Tclet Plugin. Certainly, understanding the pack algorithm can be made easier by using the interactive Pack Geometry Manager Demo[L1 ].
I suppose depending on the plugin could be a risk; if it isn't available, a very useful quality would be lost. Still, there is much to gain by using it.