December 23rd, 2004, 06:01 AM
Join Date: Oct 2004
Location: Bombay, India
Time spent in forums: 43 m 45 sec
Reputation Power: 12
I was just trying to figure out what all the events in Tkinter do....its a simple program...just printing each line when the evnt occurs...but my program *does nothing* for any key movements...I've tried using the <Key> event too ...but to disappointment!
Whats the prob here...the mouse events are working fine...
from Tkinter import *
print "That was a single click at", event.x, event.y
print "That was a double click at", event.x, event.y
print "The mouse pointer *entered* the widget!"
print "The mouse pointer *left* the widget!"
print "The user just pressed the Enter key"
if tkMessageBox.askokcancel("QUIT","Do you really wish to quit?"):