From: Daniel B Miller <danbmil@an...> - 2004-07-01 23:45:43
We've got a modest (but quickly enlarging) research project using
PyOpenGL, GLUT, and Tkinter. So far we've been amazingly impressed with
the ease of use of PyOpenGL and related tools.
Our problem is this: we have a few open windows in Tk, and a main
rendering window in OpenGL. I would like to set things up so when the
user puts focus (ie selects) one of the Tk windows, the OpenGL window is
also brought up to the front (this is on win32/XP). Apparently,
glutpopwindow() only works on subwindows. In Tkinter, I can do
root.focus_force(), but there seems to be no similar command in GLUT.
TOGL looked interesting, but my install doesn't run the togl demos
(demos/tom/pick.py, for instance). I tried looking through the togl docs,
but it seems a bit old and out of date. Soggy is promising but no code
So, any thoughts?
Faculty Research Associate
Carnegie Mellon University
West Coast Campus