Are PyQt and Panda3D compatible?


#1

Meaning, can I have a PyQt MainWindow application and nest a Panda3D 3d window inside of it as a widget?


#2

Yes, this should work in theory. I think various people on the forums have reported being able to do this, so you should search around for sample code.

In general, Panda allows you to specify a parent window handle when creating a window, which lets you nest the Panda3D window inside the window that your toolkit has created, as long as it provides a way to query this native handle.


#3

Thank you! That’s good to know.