[Marble-devel] Question about Python bindings for Marble

Simon Edwards simon at simonzone.com
Mon Jul 13 20:54:09 CEST 2009


Hello,

Eric Parent wrote:
>     I am running Kubuntu 9.04 and downloaded the latest source code from 
> the subversion repository (procedure on Marble website).
>     I noticed some methods of the MarbleMaps class are disabled in the 
> Python bindings (SIP files).
> 
> For example, the following line:
> 
> ***
> //mt     MeasureTool*       measureTool ();
> ***
> found in "marble/src/bindings/python/sip/MarbleMaps.sip".

measureTool() is not available to Python because the class MeasureTool 
(MeasureTool.h) is not exported by Marble in its library for use by 3rd 
parties.

> Since I need this functionnality, I was wondering if it was due to a bad 
> behaviour of the function?
> Will this be available soon through Python?

First try begging the developers to export it, then I'm happy to try to 
get support for it from Python in KDE 4.3. (I don't know if MeasureTool 
should be exported, it might be deprecated. The core Marble devs will 
have to determine that one.)

cheers,

-- 
Simon Edwards             | KDE-NL, Guidance tools, Guarddog Firewall
simon at simonzone.com       | http://www.simonzone.com/software/
Nijmegen, The Netherlands | "ZooTV? You made the right choice."


More information about the Marble-devel mailing list