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.
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.