Re: Launch the default html browser

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:

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");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]