English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] OCamlSDL
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-04-24 (01:01)
From: Jacques Garrigue <garrigue@k...>
Subject: Re: [Caml-list] OCamlSDL
From: Oliver Bandel <oliver@first.in-berlin.de>

> Tk is designed for interactive GUI-Applications. And, yes,
> it provides graphical output with the canvas-widget.
> But I think that OpenGL is designed for having 3D-animations
> and similar stuff, and not to put buttons on the screen,
> on which the user can click.
> And I think you have to reinvent the "button-wheel" in OpenGL.
> Maybe it would be a good idea to marriage OpenGL and Tk,
> so that Tk provides easy GUI-design and OpenGL provides
> powerful 3D-capabilities.
> Maybe there should be a GUI-Lib for OpenGL, or a 3D-canvas-
> widget for Tk (OpenGL-canvas for Tk).

As somebody pointed out, there is a Tk extension called Togl to do
And, you know what? LablGL includes Togl, so that you can
transparently mix your OpenGL and LablTk code.
And since LablGTK also support LablGL, you can even choose between Tk
and GTK+.


Jacques Garrigue
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners