Overview
| Artifact ID: | 6ee3040204eae9cd03df703e92a7c5abdb18a805 |
|---|---|
| Ticket: | 997255ffffffffffffffffffffffffffffffffff
"event delete" doesn't seem to work. |
| User & Date: | nobody on 2004-07-24 22:02:06 |
Changes
- assignee changed to: "nijtmans"
- cmimetype changed to: "text/plain"
- comment changed to:
Tcl/Tk was compiled last year from unmodified source on a Fedora Core 1 Pentium MMX system and installed in /usr/local/bin by the default make method. "event delete <<easterEgg>>" simply does not work as described in "Tcl/Tk Programmer's Reference" by Christopher Nelson; the event output continues to be triggered by the key strokes defined in the example script until the GUI is closed. I could not find this in the Bug Tracker. #! /usr/local/bin/wish proc virtualBinding {virtualEvent} { # upvar $virtualEvent <<VE>> # print a message puts "Spring is here!" # Get rid of all associations for the virtual # event. # event delete <<VE>> <Control-Shift-Alt-Triple-ButtonPress-3> uplevel "event delete $virtualEvent <Control-Shift-Alt-Triple-ButtonPress-3>" puts "event delete $virtualEvent";# <Control-Shift-Alt-Triple-ButtonPress-3> } # an obscure mouse event event add <<easterEgg>> \ <Control-Shift-Alt-Triple-ButtonPress-3> # A keyboard alternative event add <<easterEgg>> <Alt-Triple-KeyPress-F1> # What to do when either sequence occurs bind . <<easterEgg>> \ [list virtualBinding <<EasterEgg>>] -- Michael J. Burns [email protected] - foundin changed to: "obsolete: 8.4.6"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "02. Event Loops"
- title changed to: ""event delete" doesn't seem to work."
- type changed to: "Bug"