Re: Unable to capture mouse events of GtkGLArea

2018-07-02 Thread Johannes Bauer
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'

Unable to capture mouse events of GtkGLArea

2018-07-02 Thread Johannes Bauer
Hey list, 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. I'm having two issues: The more pressing one is that I cannot seem to figure out how to capute mouse events on my GtkGLA

Glade example for open dialog

2016-01-30 Thread Johannes Bauer
Hi there, I'm currently trying to figure out how to operate a open file/save file dialog from PyGobject using a dialog that I've created with Glade. To clarify, I know how to open such a dialog programmatically, but would like to use Glade (because in the future I'm thinking of adapting the dialog

Re: Setting focus to newly shown window

2016-01-30 Thread Johannes Bauer
On 20.01.2016 08:55, Marius Gedminas wrote: > On Tue, Jan 19, 2016 at 10:10:09PM +0100, Johannes Bauer wrote: >> I've done some GTK programming in the ancient past and am just now >> starting again with GTK3, Glade and pygtk. Wow, the project has come a >> long way. It&#

Setting focus to newly shown window

2016-01-19 Thread Johannes Bauer
Hi list, I've done some GTK programming in the ancient past and am just now starting again with GTK3, Glade and pygtk. Wow, the project has come a long way. It's absolutely amazing and so much simpler than in the past. I love it. But that aside, I do have a newbie question that I can't seem to fi