hello,
i'd like to use python for a project involving a cross-platform 2D user interface.
mid-90's i was working with tcl/tk, and i am looking for something that will have a similar mechanism as tk's canvas where objects are created and can be bound to callbacks when certain events occur (mouseover, drag parameters, click, etc.).
is the wx.GraphicsContext able to do this? the demo is not responding to user events and a quick look at the docs did not make it clear to me. it seems i can manually test if a given coordinate is inside an path, but i'm looking for something a bit higher level...
or is there another wxpython "builtin" 2D graphic class? (although wx.GraphicsContext's floating point resolution and cross-platform native graphic wrappers are very attractive...). googling around pointed to different things (floatcanvas, ogl) but none seemed too impressive or forward-looking.
or would tkinter still be a good idea? intuitively i would stay away from it but maybe i should reunite with the old friend...? from a 2007 point of view i find the wx lib (docs) in general much better than what tkinter offers but maybe i'm wrong...
thanks!
alexandre.