From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA06310; Sat, 19 Jul 2003 17:38:32 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 RAA13014 for ; Sat, 19 Jul 2003 17:38:30 +0200 (MET DST) Received: from aomori.annexia.org (annexia.force9.co.uk [212.56.101.183]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h6JFcTf02848 for ; Sat, 19 Jul 2003 17:38:29 +0200 (MET DST) Received: from rich by aomori.annexia.org with local (Exim 3.36 #1 (Debian)) id 19dtmx-0003cS-00; Sat, 19 Jul 2003 16:38:23 +0100 Date: Sat, 19 Jul 2003 16:38:23 +0100 To: Chris Clearwater Cc: caml-list@inria.fr Subject: Re: [Caml-list] Roadplan for world domination (or constructive criticism of ocaml facilities) Message-ID: <20030719153823.GA13785@redhat.com> References: <20030718212114.GA31599@pyramid.twistedmatrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030718212114.GA31599@pyramid.twistedmatrix.com> User-Agent: Mutt/1.5.4i From: Richard Jones X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 criticism:01 mingw:01 lablgtk:01 gui:01 toolkits:01 widgets:01 widget:01 font:99 freetype:01 camlimages:01 freshmeat:01 obstacle:01 vanier:01 ltd:98 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Fri, Jul 18, 2003 at 04:21:14PM -0500, Chris Clearwater wrote: > - Support on win32 could certainly be much better Yes! OCaml works really well out of the box on my Debian GNU/Linux machines, but it's a world of pain on Windows. A binary mingw distribution including common packages (lablgtk!) would help here. > - There exists much fragmentation among usage of different GUI toolkits > and they are limited to C/C++ conventions. (Is it possible to create your > own custom GTK widgets within ocaml?) It's possible to create compound widgets, although it's not simple and obvious how to do it. There's a bit in my tutorial about doing this. For creating an actual new widget I would be tempted to use a drawing area as the basis. Not perhaps the most pure approach, but fairly easy as the drawing area exposes all the events you need. > 7) Create a cross-platform Font module (wrap freetype or create an Ocaml > implementation). Include this in the standard distribution. Camlimages wraps freetype, but obviously this is not cross-platform. Rich. -- Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj Merjis Ltd. http://www.merjis.com/ - all your business data are belong to you. "One serious obstacle to the adoption of good programming languages is the notion that everything has to be sacrificed for speed. In computer languages as in life, speed kills." -- Mike Vanier ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners