There's a control that I need, that I think is going to require writing
in C++. Can someone point me to info on how to make swig generate my
Python interfaces as painlessly as possible? I have never used swig
before, and it looks fairly complicated (still probably easier than
writing the wrappers by hand though). Thanks for any help!
Scott wrote:
There's a control that I need, that I think is going to require writing
in C++. Can someone point me to info on how to make swig generate my
Python interfaces as painlessly as possible? I have never used swig
before, and it looks fairly complicated (still probably easier than
writing the wrappers by hand though). Thanks for any help!
This is very out of date, but it will give you the general principles (just ignore all the details!)
http://wiki.wxpython.org/index.cgi/C_2b_2bExtensions
After that you will probably want to look at the modules in the wxPython sources at wxPython/contrib for the basic template of a .i file, and at wxMozilla for an example of how to build a Python extension that is able to integrate with wxPython classes but is built outside of the wxPython source tree.
For any more help please don't hesitate to ask on wxPython-dev.
ยทยทยท
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!