[ WWWFun | Software | O'Caml ]

LablGTK

LablGTK is is an Objective Caml interface to gtk+. It comes in two flavors: LablGTK1 for gtk+-1.2 and LablGTK2 for gtk+-2.0 to gtk+-2.6.

It uses the rich type system of Objective Caml 3 to provide a strongly typed, yet very comfortable, object-oriented interface to gtk+. This is not that easy if you know the dynamic typing approach taken by gtk+.

It is still under development, but already fully functional. All widgets (but one) are available, with almost all their methods. The GLArea widget is also supported in combination with LablGL. LibGlade and GdkPixbuf support is also included for both versions. LablGTK2 adds support for gnomecanvas, librsvg and libpanel Many examples are provided.

Objective Caml threads are supported, including for the toplevel, which allows for interactive use of the library.

LablGTK also works under Windows. See the README for details about how to build it for Win32.

Since release 1.2.1, LablGTK contains support for rapid development with glade, through an interface wrapper compiler, and a libglade binding. You can also find code generators in the tools section.

Here are the READMEs for the currents versions of lablgtk and lablgtk2.

Download

<<<<<<< lablgtk.html
lablgtk-20020528.tar.gz =======
lablgtk-2.6.0.tar.gz
Third release of LablGTK2.
lablgtk-2.6.0-win32.zip
Compiled version for Windows. Can be used with the Objective Caml 3.08 or 3.09 distribution (msvc or mingw), without any extra tools. Required GTK+ dlls are available as gtk-2.6.8-dlls-win32.zip. Supports both bytecode and native code, but you need the GTK+ export libs (not included with the above dlls) for native linking.
Additional support for librsvg is provided as lablrsvg-2.0-win32.zip and librsvg-2.4.0-dlls-win32.zip.
lablgtk-2.4.0.tar.gz
Second release of LablGTK2.
lablgtk-2.4.0-ocamlwin-3.08.zip
Compiled version for windows. Can be used with the Objective Caml 3.08 distribution (msvc or mingw), without any extra tools. Required GTK+ dlls are available as gtk-2.4.3-dlls-win32.zip. Supports only bytecode linking (you need to compile from source for custom and native code.)
lablgtk-1.2.7.tar.gz
New release for Objective Caml 3.05 and up. Only a few additions and fixes.
lablgtk-1.2.7-ocamlwin-3.08.zip
Compiled version for windows. Can be used with the Objective Caml 3.08 distribution, without any extra tools. Required GTK+ dlls are available as gtk-1.3.0-dlls-win32.zip. Supports only bytecode linking.
lablgtk-2.2.0-ocamlwin-3.07.zip and lablgtk-1.2.6-ocamlwin-3.07.zip
Same thing for ocamlwin 3.07.
lablgtk-1.2.5-ocamlwin-3.06.zip
Same thing for ocamlwin 3.06.
lablgtk-1.2.1.tar.gz =======
lablgtk-1.2.1.tar.gz >>>>>>> 1.17
Release version for Objective Caml 3.01 and 3.02. (411 Kbytes)
You can also download it from INRIA
lablgtk-b1.tar.gz
Older development version for Objective Label 2.04. (368 Kbytes) -->
Ftp directory
Ftp access to the distribution.
CVS access
The working sources of LablGTK are available from the server of the Caml group at INRIA, in the bazar-ocaml subdirectory. The main branch is for lablgtk2, you need to use the branch lablgtk1 for the old version.
<<<<<<< lablgtk.html

Contributed ports

LablGTK on Windows
The Unison team provides compiled version of LablGTK on Windows. Look for lablgtk-x.x.x-cygwin.tar.gz.

Software and Links

Lots of stuff is included in the distribution, but here are some more from external contributors.
Unison by Benjamin Pierce et al.
A file synchronizer. Uses LablGTK for its GUI.
MLglade by Benjamin Monate
An extension to glade, for generating LablGTK code.
Zoggy by Maxence Guesdon
Another GUI builder, written itself in LablGTK.
Motazaar by malc
A 3D viewer, using also lablGL.
Maxence's hump
Another index of lablGTK software.
=======

Software and Links

Lots of stuff is included in the distribution, but here are some more from external contributors.
LablGTK2 Tutorial by SooHyoung Oh
A nice lablgtk translation of the GTK+ Tutorial. See also the Tree View Tutorial (in progress).
Unison by Benjamin Pierce et al.
A file synchronizer. Uses LablGTK for its GUI.
MLglade by Benjamin Monate
An extension to glade, for generating LablGTK code.
Zoggy by Maxence Guesdon
Another GUI builder, written itself in LablGTK.
CamlImages
A library to handle various image formats in Caml. Includes support for LablGTK.
Motazaar by malc
A 3D viewer, using also lablGL.
Maxence's hump
Another index of lablGTK software.
>>>>>>> 1.17

Mailing list

If you are interested by subscribing to the lablgtk mailing list, please send a mail to lablgtk-request@math.nagoya-u.ac.jp.

Here is the archive.


<<<<<<< lablgtk.html
Jacques Garrigue, 2002.05.27.
=======
Jacques Garrigue, 2006.08.14.
>>>>>>> 1.17