Saturday, January 09, 2010

Developments with OpenGL widget

The last c ouple of days has seen me giving more time to looking at the fledgling gnocl::openGl widget. But, strictly speaking, there is no Gtk+ or Gnome OpenGL widget. What is available is the gtkglext library which will ** render ** OpenGL procedures to a GtkDrawingArea. This is reminiscent of the GtkSpellCheck extension to the GtkTextView widget. Its an add-on, not a widget. The practical implementation then is how to deal with two contexts: a GtKDrawingArea created in a Glade file and one scripted directly in Gnocl itself.

No comments: