Re: Enter Enter... troubles

2007-02-17 Thread Sorin Schwimmer
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

Re: Enter Enter... troubles

2007-02-15 Thread Hendrik van Rooyen
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

Enter Enter... troubles

2007-02-14 Thread Sorin Schwimmer
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)