[Pydev-code] Engagin AutoComplete with Scribus
Brought to you by:
fabioz
|
From: John L. P. <jlp...@gm...> - 2012-06-11 15:56:14
|
Scribus is an open source digital publishing project that offers Python scripting much like VBA is to Microsoft Excel and Word. I'd like to be able to use the objects exposed to Python in Scribus and do not know how to modify PyDev to accomplish this. Here's what is available: 1) *.h and *.cpp files that wrap the desired objects, e.g. page, items, layers &etc. 2) files (generated from a Python script) containing the API points, i.e. api_Scripter.activeDocument.activePage.items.api, in the format of: /** * Scripter.activeDocument.activePage.items[i].objectName * Property * type is QString */ /** * Scripter.activeDocument.activePage.items[i].itemName * Property * type is QString */ The above files are from the Subversion repository, see http://scribus.net/websvn/listing.php?repname=Scribus&path=%2Ftrunk%2FScribus%2Fscribus%2Fplugins%2Fscripter%2F&#aca5e4fd7ca7007cd8c97fe2e13849862 I tried to add as a source folder the directory, D:\work\Scribus\src\scribus\plugins\scripter, containing these files in the PyDEV PYTHONPATH menu. It looks like pointing to that directory did no good as code that has reference to an object does not auto complete. What may I do to have the objects exposed for the Scribus python interpreter available in PyDev? Thank you, John |