C ++ sdl: do I have a sdl-opengl window inside a menu and buttons that I created using a clearing?

I used a clearing to create some gtk buttons.

  • Can I add an sdl-opengl window to a screening application? if so, how?
  • How can I interact between gtk events and sdl events inside the gtk window?

thanks

+4
source share
1 answer

GTK has at least two extensions that can help you: GtkGLExt and Gtksdl .

Gtksdl seems to be abandoned, but may contain some useful code. GtkGLExt works great if you don't rely on a lot of SDL functionality outside of the OpenGL core and event handling.

+2
source

Source: https://habr.com/ru/post/1306004/


All Articles