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 CAA28251; Wed, 28 May 2003 02:54:01 +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 CAA28187 for ; Wed, 28 May 2003 02:54:00 +0200 (MET DST) Received: from swordfish ([216.241.35.41]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h4S0rxH16667 for ; Wed, 28 May 2003 02:53:59 +0200 (MET DST) Received: from matt by swordfish with local (Exim 3.35 #1 (Debian)) id 19KpCa-0001Mk-00 for ; Tue, 27 May 2003 18:54:00 -0600 Date: Tue, 27 May 2003 18:54:00 -0600 From: Matt Gushee To: caml-list@pauillac.inria.fr Subject: Re: [Caml-list] GUI toolkit advice Message-ID: <20030528005400.GD31460@swordfish> Reply-To: Matt Gushee Mail-Followup-To: caml-list@pauillac.inria.fr References: <3ED403B2.3000208@ihug.co.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3ED403B2.3000208@ihug.co.nz> User-Agent: Mutt/1.3.27i X-Spam: no; 0.00; gushee:01 mgushee:01 havenrock:01 caml-list:01 gui:01 toolkit:01 toolkits:01 lablgtk:01 more-or-less:01 widgets:01 lacks:01 widget:01 labltk:01 englewood:01 manure:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Wed, May 28, 2003 at 12:32:50PM +1200, sashan wrote: > > I was looking around the O'Caml website and surrounding sites for gui > toolkits. I'm interested in a platform independent (windows or linux) > toolkit. The bindings I've come across so far are LablGTK and a binding > for tk. Are there any other gui toolkits? What would you use if you > wanted to write an app with a gui that could run no linux or windows? I'm not sure there's a perfect solution to this problem. For me it would depend a lot on the nature of the application and my relationship with the user(s). Here's the thing: GTK is more-or-less a "modern" GUI toolkit, has most types of widgets that GUI developers are accustomed to using, looks nice (at least most people seem to think so ... personally I think the button styling is rather dorky), and is reasonably well internationalized ... but the Windows port of GTK is not very mature, so you might have to watch out for a lot of bugs. Tk, on the other hand, is a bit primitive: it lacks some common widget types, and may have some issues with I18N. Also, unless you get the very latest version (which may or may not work with LablTk), it lacks support for common image formats like JPEG and PNG. Furthermore, some people think it looks ugly (though I've found that in many cases they just don't know how to configure it to look good). But Tk has been around forever and AFAIK works well on all supported platforms. So for simple applications, e.g. a data entry interface, Tk might be a better choice. But if you are creating, say, the ultimate IDE, I imagine you're better off with GTK, bugs or no. -- Matt Gushee When a nation follows the Way, Englewood, Colorado, USA Horses bear manure through mgushee@havenrock.com its fields; http://www.havenrock.com/ When a nation ignores the Way, Horses bear soldiers through its streets. --Lao Tzu (Peter Merel, trans.) ------------------- 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