frame.bind ?

Fredrik Lundh fredrik at pythonware.com
Tue Jun 11 17:01:39 EDT 2002


"kemu" wrote:

> frame.bind("<Button-1>", callback)
>
> I don't understand what .bind does ?
> I know button-1 is the first mouse button and he calls the function callback
> but what does bind do ??

tell Tkinter that it should call the function callback when
the first mouse button is pressed, if the mouse pointer is
inside the frame widget.  more here:

    http://www.pythonware.com/library/tkinter/introduction/events-and-bindings.htm

</F>





More information about the Python-list mailing list