Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
LablGTK Beta 1 release
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 1999-10-15 (14:01)
From: Jacques Garrigue <garrigue@k...>
Subject: LablGTK Beta 1 release
Three month since the first release of LablGTK, and here is a new one.

    LablGTK Beta 1: an object-oriented O'Labl interface to GTK

LablGTK's strengths are:
* strong typing down from the C interface
* real OO (?): widgets are created through new, and can be inherited
* possibility to use threads, even at toplevel
* O'Labl nice syntax

In particular it is possible to create, configure, and pack a widget
in the same line.
For instance here is the complete code for Hello World:

let window = new GWindow.window border_width: 10
let button = new GButton.button label:"Hello World" packing: window#add
let _ =
  button#connect#clicked callback:(fun () -> prerr_endline "Hello World");
  GMain.Main.main ()

LablGTK can be found at the following URLs:

Jacques Garrigue, visiting INRIA from Kyoto University
		          Jacques.Garrigue at