From: Andrew R. <and...@us...> - 2007-08-22 10:30:48
|
I've committed a change to the python bindings which lets swig deal with the PLGraphicsIn object in calls to plGetCursor. This is the way we do it with Java and it allows the full range of elements in the PLGraphicsIn structure to be accessed. Previously there was an attempt to fudge PLGetCursor to return just the cursor. Strictly speaking this is an API change but, 1) The old implementation was undocumented (both in the documentation and in the examples). 2) The old implementation didn't provide all the required functionality for e.g. example 20. Having made these changes I have now implemented example 20 in python. If this causes problems for anyone the please let me know and I'll look for a workaround. Unless you were familiar with swig it would be hard to work out how to use the old interface. Andrew |