Skip to Main Content
Learning Perl/Tk
book

Learning Perl/Tk

by Nancy Walsh
January 1999
Beginner content levelBeginner
373 pages
9h 43m
English
O'Reilly Media, Inc.
Content preview from Learning Perl/Tk

Appendix A. Configuring Widgets with configure and cget

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.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Perl/Tk

Mastering Perl/Tk

Stephen Lidie, Nancy Walsh

Publisher Resources

ISBN: 1565923146Supplemental ContentCatalog PageErrata