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 13. Miscellaneous Perl/Tk Methods

So far, most of the chapters in this book have concentrated on specific widgets. This chapter covers the methods and subroutines that can be invoked from any widget. You’ll probably never need most of these methods, but there are a few that you’ll use frequently, particularly configure and cget.

Most of the methods are based on the Tcl winfo command (window information). Generally, the commands are informational only, meaning you pass no arguments to them; you only get a value back.

This chapter also documents clipboard and selection methods for cut-and-paste operations between applications, focus and grab methods, and a few esoteric goodies.

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