Help. Tracking ButtonRelease events

Hever Zsolt never at
Sat Aug 7 12:00:42 EDT 1999

This is not  a direct answer, but hopefully it is a help.
I am working on a bit similar program and I have put out some code. <=main program <= module    <= help, a picture of the
It grew out from the same script(s) you mentioned, there are same problems
you have now that I had to solve somehow.
In the module there is a "class Connecting_Objects:" which does
that. I maintain an ordered taglist for additional information.


> From: Philip Derbeko <sphilip at>
> To: python-list at
> Subject: Help. Tracking ButtonRelease events
> Date: 1999. augusztus 7. 14:09
> Hello.
> I'm writing an application part of which is a GUI to draw graphs.
> What i want is create verticies and edges between them,
> i create vertex by clicking on Button 1 ( taken from Demo/Tkinter/matt
> scripts )
> and edge created by clicking on Button 3 and dragging the mouse to the
> destination vertex.
> In order to do it every vertex  binded events ButtonPress-3 and
> ButtonRelease-3 ,
> the problem i run into is that when i press button 3 and drag it to the
> destination vertex,
> source vertex gets the ButtonRelease-3 event and not destination.
> Am i missing something and how can it be solved ?
> Thanks in advance
> Philip
> -- 

More information about the Python-list mailing list