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

15.4. Toplevel-Based Composite Widgets

There is one small difference between a composite widget based on a frame instead of a toplevel. If you want to be able to use ->new() to create your window, define InitObject instead of Populate. Most of the composite widgets included with the Tk distribution do not do this, however. Look at ColorEditor.pmand DialogBox.pm for examples of how to create a toplevel-based composite widget. All the rules for using ConfigDefaultsare the same.

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