Skip to content
Tcl Source Code History Of Ticket 997255ffffffffff
Login

History Of Ticket 997255ffffffffff

Artifacts Associated With Ticket 997255ffffffffff

  1. Ticket change [6ee3040204] (rid 100216) by nobody on 2004-07-24 22:02:06:

    1. assignee initialized to: "nijtmans"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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]
      
    4. foundin initialized to: "obsolete: 8.4.6"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "02. Event Loops"
    10. title initialized to: ""event delete" doesn't seem to work."
    11. type initialized to: "Bug"
  2. Ticket change [7eaad862a2] (rid 97456) by jenglish on 2004-07-27 03:58:35:

    1. assignee changed to: "jenglish"
    2. closedate changed to: "2004-07-26T20:58:35"
    3. closer changed to: "jenglish"
    4. icomment:
      Logged In: YES 
      user_id=68433
      
      Virtual event names are case-sensitive: if you change the
      last line to:
      
      bind . <<easterEgg>> [list virtualBinding <<easterEgg>>]
      
      it works as expected (note "easterEgg" vs. "EasterEgg").
      
      
      
    5. login: "jenglish"
    6. mimetype: "text/plain"
    7. resolution changed to: "Invalid"
    8. status changed to: "Closed"
    9. username: "jenglish"