It works, thanks.
Sorin
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=list&sid=396546091
--
http://mail.python.org/mailman/listinfo
Sorin Schwimmer wrote:
8<-
> def handler(self,event):
>self.aButton.unbind('')
>self.aButton.unbind('')
8<-
>
>The idea is to prevent a fast user (like my boss) to press repeatedly the
"enter"
>key and create havoc with self.property and
Hi All,
In my application I have a class like this:
from Tkinter import *
class MyClass:
def __init__(self, root):
self.property=value
self.aButton=Button(root, text='Press me!')
self.aButton.bind('', self.handler)
self.aButton.bind('',self.handler)