caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Evan Martin" <martine@danga.com>
To: Richard Jones <rich@annexia.org>
Cc: Vincenzo Ciancia <vincenzo_yahoo_addressguard-gmane@yahoo.it>,
	caml-list@inria.fr
Subject: Re: [Caml-list] Re: Cross-platform "Hello, World" graphical application in OCaml
Date: Wed, 23 Feb 2005 00:07:20 -0800	[thread overview]
Message-ID: <20050223080720.GB66943@trout> (raw)
In-Reply-To: <20050222140333.GA4603@furbychan.cocan.org>

On Tue, Feb 22, 2005 at 02:03:34PM +0000, Richard Jones wrote:
> > Do you mean that gtk has the native look and feel on windows, including
> > e.g. font selection or file open dialog? 
> 
> Good question.  Answer is unfortunately no.  The native look and feel
> is provided by the Gtk-Wimp theme (http://gtk-wimp.sourceforge.net/)
> which was recently intergrated into Gtk itself.  However the theming
> only applies to widgets, and not to such things as the file->open
> dialog.

Additionally, GTK provides file dialogs at the level of GTK widgets:
from GTK you can create a file dialog and pack in your own widgets (like
a preview when loading an image or a "file type" dropdown).  This is too
low of a level to allow an API that abstracts across the Windows file
dialogs.

[getting further off ocaml-list territory, but...]
Though it depends on your application's target audience, I think you
should use Wimp only as a last resort.  Programs atop GTK+ look and
behave subtly different from the way they behave in Windows, and I fear
that using Windows-native-looking widgets will only serve to
frustrate/annoy users further with the differences.  If you're making a
professional application the Proper Thing is to abstract away the common
parts and write the GUI twice.

(I actually sowed the seeds of that project while sorta drunk:
http://www.livejournal.com/users/evan/520561.html)

-- 
Evan Martin
martine@danga.com
http://neugierig.org


  parent reply	other threads:[~2005-02-23  7:57 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 13:36 ` Vincenzo Ciancia
2005-02-22 14:03   ` [Caml-list] " Richard Jones
2005-02-22 17:46     ` Christophe TROESTLER
2005-02-22 23:50       ` Oliver Bandel
2005-02-23 13:58         ` Christophe TROESTLER
2005-02-23  8:15       ` Sven Luther
2005-02-23 14:08         ` Christophe TROESTLER
2005-02-23 16:15           ` Sven Luther
2005-02-24 16:20             ` Christophe TROESTLER
2005-02-23  8:07     ` Evan Martin [this message]
2005-02-22 14:08   ` Michael Walter
2005-02-22 17:05 ` [Caml-list] " 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=20050223080720.GB66943@trout \
    --to=martine@danga.com \
    --cc=caml-list@inria.fr \
    --cc=rich@annexia.org \
    --cc=vincenzo_yahoo_addressguard-gmane@yahoo.it \
    /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).