"geon" <[EMAIL PROTECTED]> wrote:
> yes, the problem is as I had in mind - you code is about
> but my code (and that link
> http://effbot.org/tkinterbook/tkinter-events-and-bindings.htm ) is
> about event
no, it's not. it says that "mouse events" are grabbed by the widget for
as long as
Stewart Midwinter napsal(a):
> Pavel, what operating system are you on, and what version of Python,
> and what version of Tcl/Tk?
>
>
w2000, py2.4, tcl that shipped with py
> Also note that to see the code work, you need to click on the button
> itself, which might be a bit hard as it is quite n
Pavel, what operating system are you on, and what version of Python,
and what version of Tcl/Tk?
Also note that to see the code work, you need to click on the button
itself, which might be a bit hard as it is quite narrow. To make the
button wider, give it some text. Also note that the events wi
Stewart Midwinter napsal(a):
On 4/24/06, Jeff Epler <[EMAIL PROTECTED]> wrote:
Click inside the button, then move the mouse around, including outside the area
of the button. You'll continue to see the message "Event at ..." printed as
long as the mouse continues moving, until you
On 4/24/06, Jeff Epler <[EMAIL PROTECTED]> wrote:
> Click inside the button, then move the mouse around, including outside the
> area
> of the button. You'll continue to see the message "Event at ..." printed as
> long as the mouse continues moving, until you release the button.
heh, that keeps
Consider the following program:
def print_event(evt):
print "Event at", evt.x, evt.y
from Tkinter import *
b = Button()
b.pack()
b.bind("", print_event)
b.mainloop()
Click inside the button, then move the mouse around, including outside the area
of the button. You'll continue to see the
Hi,
I am not sure, if I do understand perfectly what is written in
http://effbot.org/tkinterbook/tkinter-events-and-bindings.htm :
When you press down a mouse button over a widget, Tkinter will
automatically "grab" the mouse pointer, and mouse events will then be
sent to the current widget as