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

3.2. Some Fun Things to Try

One of the best ways to figure out how Perl/Tk works is to try it. Once you understand the basics, you'll spend most of your time tweaking options and callbacks to do the correct thing. Here are some ways to learn about the button widget:

  • Create a window with three buttons in it. Have each button print something different when clicked on.

  • Create a window with three buttons. Have the first two buttons change each other's text when pressed. The last button should allow you to exit the program.

  • Make some really big buttons and some really tiny buttons all in the same window.

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