Hello
I have a C++ program that creates a QWidget* and can return that to Python.
I want to pass that QWidget * to PyQt so that the newly created widgets
have this widget as their parent. How to do that?
In C++:
QWidget *theWidget;
PyObject *get_widget()
{
return PyCObject_FromVoidPtr(theWidget, NULL)
}
Now is it possible to get this QWidget* and give to PyQt / QWidget class?
Thank you,
Elias
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt