Stewart Midwinter napsal(a):
Unfortunately not with me. This piece of code doesnt work as you wrote and/or is described in the link I sent before. (it is about <Button-1> ..) :On 4/24/06, Jeff Epler <[EMAIL PROTECTED]> wrote: from Tkinter import * root = Tk() def callback(event): frame.focus_set() print "clicked at", event.x, event.y frame = Frame(root, width=100, height=100) frame.bind("<Button-1>", callback) frame.pack() root.mainloop() -- Pavel Kosina |
_______________________________________________ Tkinter-discuss mailing list [email protected] http://mail.python.org/mailman/listinfo/tkinter-discuss
