views:

148

answers:

1

Hiya.

I used glade to create some gtk buttons.

  1. is it possible to add an sdl-opengl window to a glade application ? if so, how ?
  2. how can I interact between the gtk events and the sdl events inside the gtk window ?

thanks

+2  A: 

There are at least two extensions to GTK that might help you: GtkGLExt and Gtksdl.

Gtksdl appears to be abandoned, but may contian some useful code. GtkGLExt is great if you're not relying on much SDL functionality beyond core OpenGL and events handling.

Ronny Vindenes