November 2001
Beginner
320 pages
5h 53m
English
The major difference between Perl- and Python-based Tk programming is how we interact with the widgets that we create. Both systems work by creating new widgets which return objects and it's through these objects that you set their properties and create additional widgets, containers, and other interface elements to build up the individual window.
We'll have a look at four different aspects of Tk programming in relation to Perl and Python. We'll start with the basics of creating widgets before moving on to look at how we set their properties and other values. Then we'll look at how to define widget callback before finally looking at the different widget geometry systems (Packer, Placer, and Grid).
To actually ...