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.
No credit card required