Virtual Events

   

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

Table of Contents
Chapter 50.  Tcl 7.6/Tk 4.2


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.


       
    Top
     



    Practical Programming in Tcl and Tk
    Practical Programming in Tcl and Tk (4th Edition)
    ISBN: 0130385603
    EAN: 2147483647
    Year: 1999
    Pages: 478

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net