January 1999
Beginner
373 pages
9h 43m
English
Every widget included in the Perl/Tk distribution (and some not included, but available separately) can use the configure and cget methods. No matter the widget, the arguments to these functions are the same, and the results passed back have the same format.
The configure method allows you to assign or change the value of an option to the widget. It can also be used to retrieve the current value of the option. The cget method cannot assign values, but simply retrieves them with simpler syntax than that of configure.