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
[Caml-list] Ocamlmakefile and Lablgtk
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-11-13 (08:12)
From: Florian Hars <florian@h...>
Subject: Re: [Caml-list] Ocamlmakefile and Lablgtk
On Tue, Nov 13, 2001 at 12:40:47AM +0100, Markus Mottl wrote:
> It would certainly be better to have a true library file in the
> distribution rather than the "naked" compiled module file.

lablgtk comes as a library file, the problem is that every program that
uses the library must properly initialize it before it can use it.
gtkInit does just this:

(* $Id:,v 1.2 2000/03/02 08:13:15 garrigue Exp $ *)

(* Does the initialization for toplevels *)

let locale = GtkMain.Main.init ()

And that's all it does. You could do away with this file by calling
GtkMain.Main,init () in your own application.

Yours, Florian.
Bug reports:  FAQ:
To unsubscribe, mail  Archives: