Re: tkinter button state = DISABLED

2007-05-21 Thread Hendrik van Rooyen
"Hamilton, William " <[EMAIL PROTECTED]> wrote: > > From: Eric Brunel > On Thu, 17 May 2007 09:30:57 +0200, Hendrik van Rooyen > > <[EMAIL PROTECTED]> wrote: > > > "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > > >> En Wed, 16 May 2007 03:22:17 -0300, Hendrik van Rooyen > > >>> I have never

RE: tkinter button state = DISABLED

2007-05-21 Thread Hamilton, William
> From: Eric Brunel On Thu, 17 May 2007 09:30:57 +0200, Hendrik van Rooyen > <[EMAIL PROTECTED]> wrote: > > "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > >> En Wed, 16 May 2007 03:22:17 -0300, Hendrik van Rooyen > >>> I have never seen this working in Tkinter, unless the button was > >>> presse

Re: tkinter button state = DISABLED

2007-05-18 Thread Eric Brunel
On Thu, 17 May 2007 09:30:57 +0200, Hendrik van Rooyen <[EMAIL PROTECTED]> wrote: > "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: >> En Wed, 16 May 2007 03:22:17 -0300, Hendrik van Rooyen >>> I have never seen this working in Tkinter, unless the button was >>> pressed >>> on the >>> widget >>

Re: tkinter button state = DISABLED

2007-05-17 Thread Hendrik van Rooyen
"Gabriel Genellina" <[EMAIL PROTECTED]> wrote: >En Wed, 16 May 2007 03:22:17 -0300, Hendrik van Rooyen ><[EMAIL PROTECTED]> escribió: > >> "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: >> >>> Maybe there is a confusion here. You code above means that, when the >>> event >>> "The leftmost MOUSE

Re: tkinter button state = DISABLED

2007-05-16 Thread Gabriel Genellina
En Wed, 16 May 2007 03:22:17 -0300, Hendrik van Rooyen <[EMAIL PROTECTED]> escribió: > "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > >> Maybe there is a confusion here. You code above means that, when the >> event >> "The leftmost MOUSE BUTTON was released" happens over your BUTTON WIDGET

Re: tkinter button state = DISABLED

2007-05-16 Thread Hendrik van Rooyen
"Gabriel Genellina" <[EMAIL PROTECTED]> wrote: >Maybe there is a confusion here. You code above means that, when the event >"The leftmost MOUSE BUTTON was released" happens over your BUTTON WIDGET >b, your function will be called. I have never seen this working in Tkinter, unless the button was

Re: tkinter button state = DISABLED

2007-05-14 Thread James Stroud
[EMAIL PROTECTED] wrote: > I have created a button widget with a button click binding. The button > initially has a state=disabled. I can see the greyed out version of > the button in the GUI. But If I click on the button it still invokes > the callback/binding function. > > Any suggestions as to

Re: tkinter button state = DISABLED

2007-05-14 Thread Gabriel Genellina
En Mon, 14 May 2007 17:46:32 -0300, <[EMAIL PROTECTED]> escribió: > On May 14, 12:01 pm, Peter Otten <[EMAIL PROTECTED]> wrote: >> [EMAIL PROTECTED] wrote: >> > b=Button(frame, text = "Button", state = 'disabled') >> > b.bind("", >> > lambda >> > ev

Re: tkinter button state = DISABLED

2007-05-14 Thread rahulnag22
On May 14, 12:01 pm, Peter Otten <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > I have created a button widget with a button click binding. The button > > initially has a state=disabled. I can see the greyed out version of > > the button in the GUI. But If I click on the button it still

Re: tkinter button state = DISABLED

2007-05-14 Thread Peter Otten
[EMAIL PROTECTED] wrote: > I have created a button widget with a button click binding. The button > initially has a state=disabled. I can see the greyed out version of > the button in the GUI. But If I click on the button it still invokes > the callback/binding function. > > Any suggestions as to

tkinter button state = DISABLED

2007-05-14 Thread rahulnag22
I have created a button widget with a button click binding. The button initially has a state=disabled. I can see the greyed out version of the button in the GUI. But If I click on the button it still invokes the callback/binding function. Any suggestions as to why the callback is being invoked eve