Le vendredi 13 octobre 2006 à 14:12 +0100, John Cupitt a écrit : 

> On 10/13/06, Gan3sh <[EMAIL PROTECTED]> wrote:
> > With Gtk+, is there any way to launch the default html browser
> > independently of the operating system ?
> 
> Sadly not (as far as I know). I have a thing with ifdefs for *nix, mac
> and win32 in my app:
> 
> http://vips.cvs.sourceforge.net/vips/nip2-7.11/src/boxes.c?revision=1.8&view=markup
> 
> Line 919  ... box_url(). You're welcome to nick any of that that seems
> useful. I'm sure other developers have much better solutions. For
> example, it ought to use Portland, if available.


Thanks. I use more or less the same strategy.
Unless I open on Win32 with :
    system("cmd /c start /b mypage.html");

Stephane

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to