tkinter button state = DISABLED
Hendrik van Rooyen
mail at microcorp.co.za
Wed May 16 02:22:17 EDT 2007
"Gabriel Genellina" <gagsl-py2 at yahoo.com.ar> 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 pressed on the
widget
in question - and worse, once you have clicked down on a ButtonRelease binding
you can move the mouse pointer anywhere you like, even out of the application
and when you release it, the bound function is called...
Its either a bug or a feature, I don't know.
- Hendrik
More information about the Python-list
mailing list