From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 8FBA9D7E9 for ; Fri, 2 Sep 2005 10:09:09 +0200 (CEST) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.197]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j81JNPXP019035 for ; Thu, 1 Sep 2005 21:23:25 +0200 Received: by zproxy.gmail.com with SMTP id 8so277269nzo for ; Thu, 01 Sep 2005 12:23:24 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nV2GqQ7mZMrCybQDScPEgBxLJA3gNlJdfu/e/Qk4YLnRd9z0sf7hiqGku+u8HEPE5fLcVftrILYjG6t9acQhOvYyt4Hc7YzFwRwjplN6kf11gNDQj77dCKHDxp0YRAsj31p+A2GCMajibPp4R43Ga0VxQ9BTmGiNHCc5uY1+RT4= Received: by 10.36.23.10 with SMTP id 10mr1429313nzw; Thu, 01 Sep 2005 12:23:24 -0700 (PDT) Received: by 10.36.17.2 with HTTP; Thu, 1 Sep 2005 12:23:24 -0700 (PDT) Message-ID: Date: Thu, 1 Sep 2005 16:23:24 -0300 From: Nathaniel Gray To: David MENTRE Subject: Re: Feeding the OCaml GUI troll (was: Re: [Caml-list] Does LablTk have a future?) Cc: Jon Harrop , caml-list@yquem.inria.fr In-Reply-To: <3d13dcfc05083101487092acd5@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050830174757.99765.qmail@web30510.mail.mud.yahoo.com> <200508302001.58080.jon@ffconsultancy.com> <3d13dcfc05083101487092acd5@mail.gmail.com> X-Miltered: at nez-perce with ID 4317552D.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; ocaml:01 caml-list:01 labltk:01 gtk:01 gtk:01 macos:01 ocaml:01 doable:01 lablgtk:01 reinvent:01 alas:01 wrote:01 behaviour:01 caltech:02 caltech:02 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=disabled version=3.0.3 On 8/31/05, David MENTRE wrote: >=20 > 1. improve Labgtk2 documentation and use Gtk2 on all patforms. As our > try on Win32 have shown, compiling Gtk2 on Windows seems pretty > complicated and a moving target, albeit not impossible to do. I don't > know for MacOS X. And Gtk2 behaviour is different on Win32 than native > Win32 applications; There is no native Gtk2 port for OS X. Gtk requires the user to run an X server under OS X and doesn't provide native look or feel. For OS X there's Qt, XUL, wxwidgets, tk, and probably some others I'm not including. > 3. (Jon option) write a pure GUI from scratch, in pure OCaml. A > project similar to Qt or WxWidgets for C++. It seems doable to have a > basic GUI but handling all i18n and desktop interoperability issues > seems pretty complicated; I'm starting to think this is the most promising direction. Build it on top of a cross-platform graphics toolkit like Cairo or SDL, then handle all the logic in ocaml. It gives developers a single target to write for at the expense of (probably) never getting native look and feel. > Personnally, I don't know what decision to take. My current GUI code > is in Lablgtk2 but, as stated in other emails, use of Gtk2 is too > difficult for me. And I don't want to go into another reinvent the > wheel syndrom. (sigh) Alas, the cross-language cross-platform gui toolkit with native look-and-feel is a wheel that has yet to be invented. --=20 >>>-- Nathaniel Gray -- Caltech Computer Science ------> >>>-- Mojave Project -- http://mojave.cs.caltech.edu -->