[wxPython-users] Combinging wxPython and engine in DLL

Jorgen Bodde jorgen.maillist at gmail.com
Fri Jan 5 11:43:06 PST 2007


Thanks Josiah and Robin!

Yes looking into these documentation, I think the best way would be;

- Create a C++ DLL (combining wxWidgets and C++) which is the actual engine
- Create a wrapper to the DLL using SWIG, like you said with start, stop etc.

The only issue that remains are the messages. I might make a mailbox
on the thread side which I poll regulary on the Python side, like a
bi-directional mailbox. The problems with callbacks is that it's
asynchronous and I do not want to disturb the GUI thread too much.

Now all I need to figure out is how to start the thread in the DLL,
but I assume that is trivial.

Another question, is the wx.AUI implementation in python the same as
in wxWidgets 2.8.0 or is it written from scratch?

Thanks,
- Jorgen




More information about the wxpython-users mailing list