So i'm started in writing a loto of FloatCanvas Code... More interesting trial is the attached file (MovingElements.py) where i would extend the demo MovingTriangles.py to moving a generic bitmap... Unluclky i've not understand the error in clicking on the bitmap... Could someone help me? Another thing... How could i draw a line from a element to another one? In a mail Chris spoke about a few methods... in particular case, how can i do this? Thanks all! Bye!
On 5/15/07, Christopher Barker <[EMAIL PROTECTED]> wrote:
Marco Meoni - Sbaush wrote: > Another small thing.... if i try to use MovingTriangle.py with ver = > 'installed' instead ver = 'local' i have this ugly traceback The FloatCanvas version that comes with wx is pretty old - it won't work with most of the demos. The next release of wx will have an up to date one. Your two options: -- keep using the local version, just put it in with the rest of your source for your project. -- install the new version into your python disto. There is an install.py script that should work. I really should write a setup.py, but at the time, I couldn't figure out how to get a setup.py to install it into the wx.lib structure -- now I"m pretty sure it can be done, but I haven't taken the time to do so (contributions welcome!) -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [EMAIL PROTECTED] _______________________________________________ FloatCanvas mailing list [email protected] http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas
-- Marco Meoni (Sbaush)
MovingElements.py
Description: application/python
_______________________________________________ FloatCanvas mailing list [email protected] http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas
