O'Reilly logo

Mastering Perl/Tk by Nancy Walsh, Stephen Lidie

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 23. Plethora of pTk Potpourri

In this chapter, we present a blast of miscellaneous widgets, methods, options, and cookbook ideas. There isn’t a lot of depth in this chapter, just a jumble of material that didn’t fit in the rest of the book, but that we know you’ll need some day.

This chapter covers:

  • Perl/Tk special variables and exporter symbols

  • Cursor manipulation and customization

  • Using dialogs for messages, errors, selecting colors, or opening and saving files

  • The Adjuster widget, which allows users to resize frames in an application

  • Calling up “help” windows via the Balloon widget

  • The BrowseEntry widget, which is a composite of the Entry widget and a Listbox

  • The LabFrame widget, which is a Frame with a label attached

  • The NoteBook widget, which is a simple way to create multiple pages with tabs

  • The Pane widget, essentially a scrollable Frame

  • The ProgressBar widget, which can be used to display progress to a user during a time-consuming operation

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required