Version française
Home     About     Download     Resources     Contact us    
Browse thread
Cross-platform "Hello, World" graphical application in OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] Re: Cross-platform "Hello, World" graphical application in OCaml
On Tue, Feb 22, 2005 at 02:36:23PM +0100, Vincenzo Ciancia wrote:
> Richard Jones wrote:
> 
> > On?Windows,?it?comes?with?an?installer,?an?uninstaller,?a
> > desktop icon and menu entries.??It?has?the?native?Windows?look?and
> > feel on Windows.
> 
> 
> 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.

Note that even Microsoft isn't consistent in this area.  Office XP,
for example, uses its own widgets and dialogs.

Printing is another area where things are complicated.  Under Unix
it's relatively straightforward: generate a PS or PPM file and pipe it
into 'lpr'.  On Windows things are much more complex.  For the app I
wrote in 2003, I managed a primitive form of graphic-only printing by
hacking out a standalone printing program from the guts of the GIMP
Windows printer driver (written in C, not OCaml).  I can let anyone
have this if they're interested.

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