From: Jorge M. <jor...@gm...> - 2024-07-15 23:17:59
|
I am wondering if anyone has an example of embedding the main pymol window inside a wxPython application as a widget. Since in the wx toolkit, both the C++ layer (wxWidgets) and the python layer (wxPython) support having a custom widget rendered by OpenGL, this should be possible ( https://wiki.wxwidgets.org/WxGLCanvas and https://docs.wxpython.org/wx.glcanvas.GLCanvas.html either at the C++ level or the python level. My goal is to create an open source project containing such a widget if it doesn't already exist. I am not familiar with pymol but I am a regular contributor to wxPython and I have in particular contributed to the embedding of matplotlib figures inside wxPython (See https://github.com/matplotlib/matplotlib/pull/26710) Any help getting started on this would be greatly appreciated. Thank you, Jorge |