From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id QAA00358 for caml-redistribution; Fri, 15 Oct 1999 16:01:11 +0200 (MET DST) 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 OAA30963 for ; Fri, 15 Oct 1999 14:46:27 +0200 (MET DST) Received: from banyuls.inria.fr (tx-11.inria.fr [128.93.8.76]) by concorde.inria.fr (8.8.7/8.8.7) with ESMTP id OAA23279 for ; Fri, 15 Oct 1999 14:46:25 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by banyuls.inria.fr (8.9.3/8.9.3) with ESMTP id VAA35135; Fri, 15 Oct 1999 21:40:20 +0900 (JST) (envelope-from garrigue@kurims.kyoto-u.ac.jp) To: caml-list@pauillac.inria.fr Subject: LablGTK Beta 1 release X-Mailer: Mew version 1.93 on Emacs 20.4 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <19991015144019D.garrigue@kurims.kyoto-u.ac.jp> Date: Fri, 15 Oct 1999 14:40:19 +0200 From: Jacques Garrigue X-Dispatcher: imput version 980905(IM100) Sender: weis 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: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html ftp://ftp.kurims.kyoto-u.ac.jp/pub/lang/olabl/lablgtk-b1.tar.gz ------------------------------------------------------ Jacques Garrigue, visiting INRIA from Kyoto University Jacques.Garrigue at inria.fr