using wxpython with existing wxwidgets program

Hi,

I have a question on possibility to use wxpython with already existing
wxwidgets program.

My program uses wxwidgets and it also has python (through SWIG). I'd
like to add more dialogs, however I'd like to use wxpython binding
instead of C++. So is it possible to have such a hybrid where half of
GUI is written on regular wxWidgets (C++ API) and half with wxpython?

Best,
-Nikolay

Yes, see samples/embedded/embedded.cpp for an example.

···

On 9/4/10 10:30 AM, nsimakov@andrew.cmu.edu wrote:

Hi,

I have a question on possibility to use wxpython with already existing
wxwidgets program.

My program uses wxwidgets and it also has python (through SWIG). I'd
like to add more dialogs, however I'd like to use wxpython binding
instead of C++. So is it possible to have such a hybrid where half of
GUI is written on regular wxWidgets (C++ API) and half with wxpython?

--
Robin Dunn
Software Craftsman