caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Matt Gushee <mgushee@havenrock.com>
To: caml-list@pauillac.inria.fr
Subject: Re: [Caml-list] GUI toolkit advice
Date: Tue, 27 May 2003 18:54:00 -0600	[thread overview]
Message-ID: <20030528005400.GD31460@swordfish> (raw)
In-Reply-To: <3ED403B2.3000208@ihug.co.nz>

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


  reply	other threads:[~2003-05-28  0:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-28  0:32 sashan
2003-05-28  0:54 ` Matt Gushee [this message]
2003-05-28  9:17 ` Fabrice Le Fessant
2003-05-28  9:38 ` henridf
2003-06-03 11:31 ` Richard Jones
2003-06-03 11:44   ` Richard Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030528005400.GD31460@swordfish \
    --to=mgushee@havenrock.com \
    --cc=caml-list@pauillac.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).