O'Reilly logo

Practical Programming in Tcl & Tk, Third Edition by Brent B. Welch

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

Virtual Events

The new event command defines virtual events like <<Cut>> <<Copy>> and <<Paste>>. These virtual events map to different physical events on different platforms. For example, <<Copy>> is <Control-c> on Windows and <Command-c> on Macintosh. You can write your scripts in terms of virtual events, and you can define new virtual events for your application. You can also use the event command to generate events for testing purposes. Virtual events and the event command are described starting at page 380.

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