I would like to embed openGL graphics in开发者_开发百科 a GTK program in OCaml. Do you have any ideas on how to do this?
(EDIT) Tk seems to have the problem solved with Togl.
In my ubuntu I have the package "liblablgtk2-gl-ocaml":
$ apt-cache show liblablgtk2-gl-ocaml-dev
....
This package contains the development files of lablgtk for libraries using GtkGL.
Never used it, but I guess that the GtkGL bindings is exactly what you need.
精彩评论