caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Gregory Guyomarc'h" <g_r_e_g_@hotmail.com>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Cross-platform "Hello, World" graphical application in OCaml
Date: Sat, 05 Mar 2005 14:09:24 +0100	[thread overview]
Message-ID: <BAY102-F110BA66561B41B82F29BECD85D0@phx.gbl> (raw)

Dear Caml-list,

<rich@annexia.org> said:
>On Wed, Mar 02, 2005 at 12:36:53AM -0600, Ken Rawlings wrote:
> > My experiences building Kog were overall positive. However, writing a
> > full-featured GUI from scratch is a lot of work, so Kog is likely to
> > remain a toy implementation for the foreseeable future. If there's
> > much interest in the OCaml community for this sort of thing though,
> > I'd love to work with a group on a project getting a full-featured
> > lightweight GUI up and running with OCaml, whether it be on OpenGL
> > directly, or one of the higher level vector libraries.
>
>I think this would be the wrong direction to go.
>
>What I think would be useful is an OCaml wrapper around Gtk, Win32 and
>Aqua/COCOA.  The idea would be for the OCaml wrapper to abstract away
>the differences, allowing cross-platform programming with native
>widgets.  WxWidgets fits the bill here, but the actual API is clunky.
>I have a feeling that something could be done better with a functional
>programming approach.

I think it has not yet been mentioned in this thread, but as far as I
understand it, the java Standard Widget Toolkit (SWT) do just that. It
acts as a thin layer above the native toolkits (in fact it seems above
the simpler widgets like buttons, labels, etc, others like menu bars are
re-implemented in java). It already supports an impressive set of
backends: gtk, windows, carbon, photon, and motif. I don't know how well
the API compares to wxWidgets', I have never used any of them, but it
seems quite popular.

Here are some links,

http://www.eclipse.org/articles/Article-SWT-Design-1/SWT-Design-1.html
http://dev.eclipse.org/viewcvs/index.cgi/platform-swt-home/dev.html?rev=1.228
http://www.developer.com/java/other/article.php/2179061

>Of course it's a lot of tedious engineering work.  I'm not
>volunteering!
>
>Rich.
>
>--
>Richard Jones, CTO Merjis Ltd.
>Merjis - web marketing and technology - http://merjis.com
>Team Notepad - intranets and extranets for business -
>http://team-notepad.com

Sincerely,

Gregory.



             reply	other threads:[~2005-03-05 13:09 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-05 13:09 Gregory Guyomarc'h [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-03-05 12:31 Grégory Guyomarc'h
     [not found] <20050223054011.3414.28936.Mailman@yquem.inria.fr>
2005-03-02  6:36 ` Ken Rawlings
2005-03-02  6:56   ` Nicolas Cannasse
2005-03-02 11:40   ` Richard Jones
2005-03-02 12:06     ` Nicolas Cannasse
2005-03-05 12:51     ` Sven Luther
2005-02-22 12:03 Richard Jones
2005-02-22 12:15 ` [Caml-list] " Sven Luther
2005-02-22 12:28   ` Richard Jones
2005-02-22 12:35     ` Sven Luther
2005-02-22 12:53       ` Richard Jones
2005-02-22 14:27         ` Sven Luther
2005-02-22 17:05 ` Blair Zajac
2005-02-22 17:23   ` Richard Jones
2005-02-22 19:24     ` Jon Harrop
2005-02-22 20:24       ` Richard Jones
2005-02-22 21:23         ` Jon Harrop
2005-02-22 22:13           ` chris.danx
2005-02-22 23:00             ` Jon Harrop
2005-02-23  0:18               ` Oliver Bandel
2005-02-23 17:24               ` Christopher Campbell
2005-02-22 23:38           ` Richard Jones
2005-02-22 21:26         ` chris.danx
2005-02-22 22:16           ` Jon Harrop
2005-02-22 23:30             ` Daniel Bünzli
2005-02-23  0:05               ` Jon Harrop
2005-02-23  3:05                 ` Michael Walter
2005-02-23  3:13                 ` Daniel Bünzli
2005-02-23  3:57                   ` Jon Harrop
2005-02-23  7:29                 ` Bardur Arantsson
2005-02-23 11:21                   ` Jon Harrop
2005-02-23 11:45                     ` Bardur Arantsson
2005-02-23  0:27               ` Oliver Bandel
2005-02-22 20:57       ` chris.danx
2005-02-23  9:58         ` Olivier Andrieu
2005-02-23 17:23           ` Christopher Campbell
2005-02-23  0:02       ` Oliver Bandel
2005-02-23 11:37         ` Jon Harrop
2005-03-01 14:35         ` Ingo Bormuth
2005-02-22 23:59     ` Oliver Bandel
2005-02-23 15:21       ` William D. Neumann
2005-02-24  0:44         ` Oliver Bandel

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=BAY102-F110BA66561B41B82F29BECD85D0@phx.gbl \
    --to=g_r_e_g_@hotmail.com \
    --cc=caml-list@yquem.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).