开发者

OCaml: Embedding openGL in GTK

开发者 https://www.devze.com 2023-02-09 10:58 出处:网络
I would like to embed openGL graphics in开发者_开发百科 a GTK program in OCaml. Do you have any ideas on how to do this?

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消