View Full Version : Display opengl program within gtk.

November 9th, 2009, 06:16 PM
I have an opengl program written in C++. I would now like to write a gtk app in C which will show the opengl app in a window, around which there will be gtk buttons to give input to this opengl program. How would i go about adding an opengl windows written in c++ to this gtk app written in c?

Shoddy example of the kind of this i want is below

Another idea i had would be to for go the gtk part and write a gui in opengl, is this possible?