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 LAA23732; Tue, 20 Nov 2001 11:00:20 +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 LAA23948 for ; Tue, 20 Nov 2001 11:00:20 +0100 (MET) Received: from lri.lri.fr (lri.lri.fr [129.175.15.1]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id fAKA0Jb25599 for ; Tue, 20 Nov 2001 11:00:19 +0100 (MET) Received: from newsun-graphe.lri.fr (newsun-graphe [129.175.9.8]) by lri.lri.fr (8.11.6/jtpda-5.3.2) with ESMTP id fAKA0GF00590 ; Tue, 20 Nov 2001 11:00:16 +0100 (MET) Received: from pc8-118 (monate@pc8-118 [129.175.8.118]) by newsun-graphe.lri.fr (8.9.3/jtpda-5.3.2) with SMTP id LAA03404 ; Tue, 20 Nov 2001 11:00:17 +0100 (MET) Date: Tue, 20 Nov 2001 11:00:17 +0100 From: Benjamin Monate To: caml-list@inria.fr Cc: Christophe.Raffalli@univ-savoie.fr Subject: Re: [Caml-list] Kylix and OCaml Message-Id: <20011120110017.72dcf99f.Benjamin.Monate@lri.fr> In-Reply-To: References: <3BF90C80.CCA8DDDD@univ-savoie.fr> Organization: LRI X-Mailer: Sylpheed version 0.5.3 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Tue, 20 Nov 2001 05:05:22 +0300 (MSK) Vitaly Lugovsky wrote: > But, if you want WYSIWIG GUI tool, just use Glade - it produces a > portable XML representation for GUI dialogs, and, I belive, it'll be > pretty easy to use it from Caml. Hi, You may want to try a first snapshot of mlglade. mlglade is a translator from glade xml file into a set of modules for OCaml >= 3.01. Very quick usage notice : - Design a gui with glade. - Generate the ocaml files using "mlglade" - type "make". Now you have a caml application that reacts to events that have been binded in glade. - Edit the main file. Customize the callbacks in the class "customized_callbacks" by overriding methods. - You may redesign the gui without loosing your customized callbacks. This is still ugly, experimental and unfinished code. But it works most of the time for some projects. The only documentation is the README. You can download it from http://www.lri.fr/~monate/mlglade Feel free to send bug reports, comments and patches. -- | Benjamin Monate | mailto:Benjamin.Monate@lri.fr | | LRI - Bât. 490 | http://www.lri.fr/~monate/ | | Université de Paris-Sud | phoneto: +33 1 69 15 42 32 | | F-91405 ORSAY Cedex | faxto: +33 1 69 15 65 86 | ------------------- 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