<p><i>Learning Perl/Tk</i> is a tutorial for Perl/Tk, the extension to Perl for creating graphical user interfaces. With Tk, Perl programs can be window-based rather than command-line based, with buttons, entry fields, listboxes, menus, and scrollbars. Originally developed for the Tcl language, the
Learning Perl/Tk: Graphical User Interfaces with Perl
โ Scribed by Nancy Walsh
- Publisher
- O'Reilly Media
- Year
- 1999
- Tongue
- English
- Leaves
- 459
- Edition
- 1
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Synopsis
Learning Perl/Tk is a tutorial for Perl/Tk, the extension to Perl for creating graphical user interfaces. With Tk, Perl programs can be window-based rather than command-line based, with buttons, entry fields, listboxes, menus, and scrollbars. Originally developed for the Tcl language, the Perl port of the Tk toolkit liberates Perl programmers from the world of command-line options, STDIN, and STDOUT, allowing them to build graphical, event-driven applications for both Windows and UNIX.This book is aimed at Perl novices and experts alike. It explains the reasoning behind event-driven applications and drills in guidelines on how to best design graphical applications. It teaches how to implement and configure each of the Perl/Tk graphical elements step-by-step. Special attention is given to the geometry managers, which are needed to position each button, menu, label and listbox in the window frame.Although this book does not teach basic Perl, anyone who has written even the simplest Perl program should be able to learn Tk from this book. The writing is breezy and informal, and gets right to the point of what you need to know and why. The book is rife with illustrations that demonstrate how each element is drawn and how its configuration options affect its presentation.
โฆ Table of Contents
Table of Contents......Page 2
Preface......Page 12
Introduction to Perl/Tk......Page 18
Geometry Management......Page 31
The Basic Button......Page 79
Checkbuttons and Radiobuttons......Page 104
Label and Entry Widgets......Page 126
Scrollbars......Page 161
The Listbox Widget......Page 179
The Text Widget......Page 195
The Canvas Widget......Page 225
The Scale Widget......Page 258
Menus......Page 266
Frames......Page 302
Toplevel Widgets......Page 308
Binding Events......Page 322
Composite Widgets......Page 334
Methods for Any Widget......Page 341
Configuring Widgets with configure and cget......Page 357
Operating System Differences......Page 382
Index......Page 392
๐ SIMILAR VOLUMES
Web, graphics & Perl/Tk.</div> <br> Abstract: Web, graphics & Perl/Tk
A good discussion of Perl graphics programming - however, it needs updating to discuss the GD 2 graphics library.
Perl users learn tools and techniques that can be used to create and manipulate graphics with the Perl programming language. Topics range from simple graphics recipes to the development and design of flexible graphics software. Between these two extremes are examples of more complex uses of selected
Perl users learn tools and techniques that can be used to create and manipulate graphics with the Perl programming language. Topics range from simple graphics recipes to the development and design of flexible graphics software. Between these two extremes are examples of more complex uses of selected