wx and tk widgets for Panda3D

I have noticed that Panda has tk and wx widgets. But I don’t know python at all. I can’t even understand how they are implemented. I want to write a gtk+ widget. I think wx and tk widgets can help me.

Can anyone write a very short summary on existing widgets for tk and wx work, particularly embedding Panda3D window into a widget?

I know that there already was a thread on this topic in which several users tried to render contents to texture and display it on ogl gtk+ widget. Nevertheless, I think that the job could be done through a window handle. Even Panda3D contents are displayed in a x window somehow.

Also, I’m not afraid to modify Panda3D sources.

I’m not really sure what you want to do. Do you want to create a GTK+ widget embedding a Panda view? If so, then that’s just a matter of acquiring the proper window handle through the GTK+ interface and using WindowProperties::set_parent_window on the Panda side.

Thank you very much for your response. That is what I try to do.