English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Lablgtk, version alpha1
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 1999-07-15 (22:15)
From: Jacques GARRIGUE <garrigue@k...>
Subject: Lablgtk, version alpha1
This is our pleasure to present

	Lablgtk, a Gtk interface for Objective Label

You can find it at:


(The summer version of Objective Label is required to compile)

This is still a development version, but almost all widgets are
supported. The glarea widget is also supported, allowing OpenGL
programming in combination with LablGL.

This interface has a two-level structure

    * type-safe raw interface to gtk, based on variant typing

    * easy to use class wrappers, using optionals and polymorphic methods

Users can do everything very confortably with the second layer,
but the first layer ensures the safety of the development.

Threads are supported, for powerful I/O programming. Another
interesting aspect of threads is that they can be included in the
toplevel, and then one can use gtk widget interactively:

	# GtkThread.start ();;
	# let w = new GWindow.window show:true;;
	# let button = new GButton.button label:"Hello" packing:w#add ;;
	# button#connect#clicked callback:(fun () -> prerr_endline "Hello");;

These few lines make interactively appear a window, a button inside
it, and connect the button to a callback.

Two very experimental RADs, radtest and lablglade, are included in this
distribution. The ultimate goal of the lablgtk project is to provide a
RAD for Objective Caml/Label.

The lablgtk authors:

	Jacques Garrigue, Hubert Fauque, Jun Furuse, Koji Kagawa.

Do not confuse lablgtk with mlgtk. Mlgtk is another gtk interface, for
the original Objective Caml. There is no code sharing between these two
interfaces. Practically, differences are mostly to be found in the
typedness of the first layer, and the use of Objective Label typing
extensions to make programming easier.

Jacques Garrigue      Kyoto University     garrigue at kurims.kyoto-u.ac.jp
		<A HREF=http://wwwfun.kurims.kyoto-u.ac.jp/~garrigue/>JG</A>