From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id JAA19344; Tue, 13 Nov 2001 09:12:26 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id JAA19192 for ; Tue, 13 Nov 2001 09:12:25 +0100 (MET) Received: from quetelet.bik-gmbh.de ([194.233.237.132]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id fAD8COj29434 for ; Tue, 13 Nov 2001 09:12:25 +0100 (MET) Received: from hars by quetelet.bik-gmbh.de with local (Exim 3.12 #1 (Debian)) id 163YeQ-00060N-00; Tue, 13 Nov 2001 09:10:34 +0100 Date: Tue, 13 Nov 2001 09:10:34 +0100 From: Florian Hars To: Markus Mottl Cc: Johann Spies , caml-list@inria.fr Subject: Re: [Caml-list] Ocamlmakefile and Lablgtk Message-ID: <20011113091034.B22883@hars> References: <20011112153648.A736@adept.co.za> <20011112185939.B4777@chopin.ai.univie.ac.at> <20011113001722.A3664@adept.co.za> <20011113004047.A9036@fichte.ai.univie.ac.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011113004047.A9036@fichte.ai.univie.ac.at>; from markus@oefai.at on Tue, Nov 13, 2001 at 12:40:47AM +0100 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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: gtkInit.ml,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: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr