From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 4506EBDCB for ; Tue, 30 Aug 2005 11:53:56 +0200 (CEST) Received: from smtp.cegetel.net (mf01.sitadelle.com [212.94.174.68]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j7U9rttW018634 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Tue, 30 Aug 2005 11:53:56 +0200 Received: from [192.168.144.2] (84-4-121-169.adslgp.cegetel.net [84.4.121.169]) by smtp.cegetel.net (Postfix) with ESMTP id 1B3CB3F24E5; Tue, 30 Aug 2005 11:53:54 +0200 (CEST) Message-ID: <43142CB2.8030306@univ-savoie.fr> Date: Tue, 30 Aug 2005 11:53:54 +0200 From: Christophe Raffalli User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050716) X-Accept-Language: fr, en MIME-Version: 1.0 Cc: Jon Harrop , caml-list@yquem.inria.fr Subject: Re: GUI for OCaml References: <4311DA63.4010104@havenrock.com> <200508292333.59714.jon@ffconsultancy.com> <3d13dcfc050830001671d0974f@mail.gmail.com> In-Reply-To: <3d13dcfc050830001671d0974f@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Miltered: at concorde with ID 43142CB3.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; christophe:01 raffalli:01 christophe:01 raffalli:01 univ-savoie:01 ocaml:01 lablgtk:01 lablgtk:01 fpls:01 ocaml:01 guis:01 macos:01 widget:01 kde:01 kde:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.3 David MENTRE a écrit : > Hello, > > 2005/8/30, Jon Harrop : > >> I had tried lablgtk before but failed to get to grips with it. > > > > The client of my application is also written in Lablgtk2 and, despite > helpful answers by Jacques Garrigue and Olivier Andrieux as well as > SooHyoung Oh's tutorials, I find programming with Labgtk2 not very > easy (to say the least). I find Lablgtk2 is largely under-documented. > Of course, this is a large task that cannot be achieved by two > individuals. > > >> I think it would be more constructive to create a decent cross-platform GUI >> library from the ground up for FPLs/OCaml. This wouldn't need to be anything >> fancy, just easy access to the simplest GUI elements to start with. I'd like >> to see GUIs described by purely functional data structures. > > > > I'd also loved too. Having a cross-platform GUI (with native look and > behaviour on Windows and MacOS X), programmed using a functional > style, well documented (with reference manual and tutorial) and with > necessary tools (GUI design application) would be very very helpful. > I would prefer a GUI programming language (similar to TeX for word processing). This might be easier to develop, can either be static (the widget build at compile time) or dynamic, and most of all, it is easier to modify an existing GUI. > However this is a huge task. To add on your initial question: > 1. do you think a minimal part of the OCaml community could > aggregate to ensure the long term maintainability of the toolkit? > > 2. how to have a modern look (with whatever definition you might > find for it) which *is* a discriminant point when choosing a GUI? > Why a modern look, you should have the look of the OS you are running on, using the OS X look on OS X, the windows look on windows, the KDE (with the user skin) look on KDE etc ... This is were things are difficult and where a programming language to design the GUI is needed, because the GUI elements do not have the same dimension on all platform. > 3. how to respond to toolkit's users that need to have more "exotic" > widgets/systems? > Let's start with simple thing for a basic toolkit, Then, if the librairy is powerfull enough, it should be possible to design new widget entierely in OCaml with the library ? > Yours, > david > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs