Tkinter and OpenGL

plewis patrick-lewisNOpaSPAM at yahoo.com.invalid
Tue Feb 1 18:19:17 CET 2000


In article <3896A132.E3571243 at cui.unige.ch>, Sunil Hadap
<Sunil.Hadap at cui.unige.ch> wrote:
>Hello,
>
>Is it possible to use OpenGL with Tkinter and Pmw, any
experiences.

Yes, using Tkinter with OpenGL is possible.  Check out David
Aschner's PyOpenGL at:

http://starship.python.net:9673/crew/da/Code/PyOpenGL

With it, you can create an Tkinter OpenGL widget that you can
draw into.  I have used Pmw with an application that used
PyOpenGL, but did not interface the two directly (didn't need
to).  No reason you couldn't, though.  The widget is very clean
and straightforward.

>Other option is FLTK but at a first glance pyFLTK is not
matured. What
>about python with wxWindows or Qt and it's support for OpenGL.

I believe there are bindings for GTK+, and wxWindows.  I am not
sure about Qt.  I couldn't get GTK+ or wxWindows to compile
properly with the OpenGL extensions, however.  (I know, personal
problem ;-) ).  I have had some success with the Fox toolkit and
FXPy.  It has some useful widgets, an interesting message
passing mechanism, and looks better than Tk (IMHO).

http://www.cfdrc.com/FOX/fox.html
>
> <snip>


* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!




More information about the Python-list mailing list