Re: Launch the default html browser
- From: Gan3sh <gan3sh wanadoo fr>
- To: gtk-app-devel-list gnome org
- Subject: Re: Launch the default html browser
- Date: Sun, 15 Oct 2006 22:24:20 +0200
Le vendredi 13 octobre 2006 à 14:12 +0100, John Cupitt a écrit :
On 10/13/06, Gan3sh <gan3sh wanadoo fr> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]