LablGtk
LablGtk is an OCaml interface
to GTK+ 1.2, 2.x, and 3.x.
It provides a strongly-typed, yet comfortable, object-oriented interface
compatible with GTK+'s dynamic typing through OCaml's rich type system. Most
widgets and methods are available, along with many examples.
LablGtk also provides bindings to
- gdk-pixbuf,
- the GLArea widget (in combination with
LablGL),
- gnomecanvas,
- gnomeui,
- gtksourceview 1, 2, and 3,
- gtkspell 1 and 3,
- libglade (and can generate OCaml code from .glade files),
- libpanel,
- librsvg,
- quartz.
The toplevel can be used for interactive development.
Tutorials And Introduction Material
API Documentation
Downloads
Development and Support
- CamlImages
: A library to handle various image formats; includes support for LablGtk.
- LablGtk-extras
by Maxence Guesdon. Tools and modules for LablGtk2 applications.
- OCaml-boxes
: A library to graphically manipulate boxes linked with edges. This
can be used to edit graphs, diagrams, ...
- The Coq Proof Assistant
: CoqIDE, its GUI interface, uses LablGtk.
- Chamo
: A source code editor with OCaml being the equivalent of Elisp of Emacs.
- Gtktop
: A small library to ease the creation of graphical toplevels.
- OCamltop-gtk
: A Gtk2 graphical interface for the OCaml toplevel.
- Motazaar
by malc
: A 3D animation player for the Outcast game; also uses LablGL.
- Unison File Synchronizer
by Benjamin Pierce et al.
Legacy GTK+-1 support
2024.06.10