Message-ID: <01ae01c3088b$28a53d60$2713f9ca at WARP> From: "Nicolas Cannasse" To: Subject: Osiris-gtk Date: Tue, 22 Apr 2003 13:53:47 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi people ! I'm looking for someone interested in developping a LablGTK version of Osiris. Osiris is a set of very easy to use classes built on top of the OCaml Win32 API. Here's a simple example : open Osiris;; let wnd = new_window() in let my_button = new_button wnd#container in my_button#x 50; my_button#y 100; my_button#caption "Click Me !"; my_button#on_click (fun _ -> message_box "Button clicked"); wnd#visible true; while wnd#process true do () done;; Osiris is 100% written in pure OCaml, but right now only the native Win32 GUI is supported . I would like to add support for GTK, so Osiris would be available on all platforms. The things to do are : 1) check that the current classes types can be implemented with Lablgtk (GTK, GTK+ , GTK2 ?) or modify them 2) work on commons classes types design for new components which are both supported by GTK and Win32 API. 3) implements theses classes with Lablgtk Once Osiris will be ported to GTK, that will provide to the whole ocaml community a common interface for writting GUI's easily and could then be included in the OCaml Standard Extended Library. What do you think of it ? Additionnal samples, documentation, and the Osiris distribution can be found at http://tech.motion-twin.com/osiris Nicolas Cannasse