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

Get Mastering Perl/Tk now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.