Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.53K
1 Posted Topic
Re: I was having the same problem, the ideas here brought me to the solution, using the [B]after_idle[/B] methode: [code=python] from Tkinter import * class MyFrame(Frame): def __init__(self, master): tk.Frame.__init__(self, master) # method call counter self.pack() self.afterId = None root.bind('<KeyPress-a>', self.key_press) root.bind('<KeyRelease-a>', self.key_release) def key_press(self, event): if self.afterId != None: self.after_cancel( … |
The End.