¡@

Home 

python Programming Glossary: winid

GTK window capture: VPython (OpenGL) application

http://stackoverflow.com/questions/10934787/gtk-window-capture-vpython-opengl-application

Thread running the GTK code. def __init__ self winID threading.Thread.__init__ self self.OpenGLWindowID winID self.name.. winID threading.Thread.__init__ self self.OpenGLWindowID winID self.name 'GTKThread' def run self Draw the GTK GUI. gtk.threads_enter.. window.connect destroy lambda w gtk.main_quit print Got winID as d s self.OpenGLWindowID hex self.OpenGLWindowID socket.add_id..