
24 Dec
2014
24 Dec
'14
7:03 a.m.
I get this : No instance for (Gtk.WidgetClass GtkGL.GLDrawingArea) arising from a use of `Gtk.boxPackStart' in code that was compiling at one point. This is how I'm importing import qualified Graphics.UI.Gtk.OpenGL as GtkGL then glCanvas <- GtkGL.glDrawingAreaNew glconfig and use it thusly: Gtk.boxPackStart hBox1 glCanvas Gtk.PackNatural 0 boxPackStart wants something WidgetClass, and GLDrawingArea seems to be an instance of widget class. The gtkglext hasn't been touched in quite a while. I'm wondering if it's become out of date with the latest gtk. ?? Thanks, Brian