GLUT/Tk problem

  • Thread starter Fulko van Westrenen
  • Start date
F

Fulko van Westrenen

Hello,

I'm very new to Python and rather unexperienced in OpenGL, and now I
try to learn both at the same time. I can find my way around in Perl
with Perl/Tk.

What I try to do is combining Tk and GLUT. Based on the dots.py code
(from the examples) I wrote a working application that reacts fine to my
keyboard. Now I would like to add some Tk widgets, like 'Quit' in the
texturesurf2.py example. The problem is that texturesurf2.py takes a
different approach for creating the window than the GLUT way in
dots.py, and I can't get a working application with a GLUT area and a
Tk area. The GLUT/OpenGL application keeps on running fine, but no
buttons, sliders and other nice widgets.

Can anyone help me adding some Tk elements to the dots.py example? (in
a way that a newbee as me can understand how it is done :) Later, the
application needs to listen to UDP/TCP, and react to that. If you have
a suggestion for that, I'm very grateful too.

Thank you,
Fulko
 
F

Fulko van Westrenen

I forgot some details:
All on Debian GNU/Linux: Woody (i386)
Python 2.1
python-opengl 1.5.7
python2.1-tk 2.1.3
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top