Tk.mainloop and glutMainLoop parallel?

Markus von Ehr markus.vonehr at ipm.fhg.de
Thu Jul 4 08:38:55 EDT 2002


Hi,

within a thread in a TkInter App I open a window using:
glutCreateWindow() command and call glutMainLoop
afterwards.

It happens that the Tkinter windows don't update any more and
only the openGL window is running.

How can I open a openGL window with glutCreateWindow()
within a TkInter app and running both mainloops?

I would prefer using glutCreateWindow() for the 3D window instead
of using OpenGL.Tk for the "normal" TkInter windows
and OpenGL.GL for the 3D stuff.

Thanks for any comments,

Markus






More information about the Python-list mailing list