O'Reilly logo

Learning Perl/Tk by Nancy Walsh

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

What's in This Book

Chapter 1

The first chapter contains some interesting history about Perl and the Tk module. It starts you out with a simple Hello World program and gives a short introduction to event-driven programs.

Chapter 2

Geometry management is probably the most important concept in using Perl/Tk. It determines how your widgets are to be drawn on the screen (or, in some cases, how not to be drawn on the screen). The three geometry managers—pack, grid, and place — are covered here. Most examples in the book use pack.

Chapter 3

The button is the first widget we cover and there are lots of details here. There are also tons of code snippets and screen shots showing different ways to manipulate and mutilate the button widget. Many of the options discussed here are common among the other standard widgets.

Chapter 4

Checkbuttons and radiobuttons are similar to the standard button, but they look different and are usually programmed differently.

Chapter 5

The label is the simplest widget of all. It is usually used with an entry widget, which is why they are included in the same chapter. The entry widget will let you get input from your user.

Chapter 6

Certain widgets in Perl/Tk can be scrolled, which means they can contain more information than you can see on the screen. Scrollbars are used to navigate the data inside these widgets. Chapter 6 tells you how scrollbars communicate with each widget and what you need to do to create and use them.

Chapter 7

A listbox can contain any ...

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