Re: Unable to capture mouse events of GtkGLArea



On 02.07.2018 22:11, Johannes Bauer wrote:

I'm writing a small toy application that uses OpenGL. Actually
converting it from GLUT to GTK/GL. I'm using a glade 3.22.1 generated UI
with Gtk 3.22.30 from Python3.

So that you can see what I'm doing (wrong), here's the full source code
of my stuff:

https://github.com/johndoe31415/pygpufractal

In particular, this is my UI definition:

https://github.com/johndoe31415/pygpufractal/blob/master/gpufractal.glade

And this the very simple UI code:

https://github.com/johndoe31415/pygpufractal/blob/master/gtkfractal.py

Any help is greatly appreciated.

Thank you so much,
Cheers,
Joe



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]