Python GUIs: Abandoning TkInter and welcoming wxPython?
robin at alldunn.com
Tue Jun 29 09:41:34 CEST 1999
Jeffrey Chang wrote in message ...
>Tkinter is very good for that type of thing. All I needed to do was
>create a Canvas and then for each node, create an Oval with a callback to
>a function that handles node clicks. Tk keeps track of the coordinates of
>each Item so that I don't have to. Also, whenever I wanted to move the
>tree, all I had to do was:
>for widget in self._canvas.find_all():
> self._canvas.move(widget, xoff, yoff)
This will shortly be very easy to do with wxPython as well. If all goes
well the next release will include the wxOGL library (Object Graphics
Library) which handles drawing various shapes and such on a canvas,
including event notification for those shapes, dragging, etc.
robin at AllDunn.com
http://AllDunn.com/wxPython/ Check it out!
Try http://AllDunn.com/laughworks/ for a good laugh.
More information about the Python-list