[Padre-dev] Fwd: open a page in a real web browser
Fayland Lam
fayland at gmail.com
Sat Nov 22 00:44:28 PST 2008
Gabor Szabo wrote:
> I asked this on the wxperl list:
>
> Padre has a plug-in that can open a page in a web browser:
>
> http://search.cpan.org/dist/Padre-Plugin-ViewInBrowser/
>
> I wonder if there is better way to do it especially from wx?
>
> I also would like to add a menu entry in Help/
> that will open a URL. How can I do that?
>
> Gabor
>
> So far the responses inclided
>
> 1)
> I believe xdg-open is the newest standard for X Windows.
>
> http://portland.freedesktop.org/wiki/TaskOpenURL
>
> 2)
> Wx::LaunchDefaultBrowser($url);
>
I think it's good enough, at least it (LaunchDefaultBrowser) works for
me in Win32
I just removed my ViewInBrowser plugin from CPAN.
Thanks.
>
> See http://www.nntp.perl.org/group/perl.wxperl.users/2008/11/msg6280.html
>
>
> Gabor
> _______________________________________________
> Padre-dev mailing list
> Padre-dev at perlide.org
> http://mail.perlide.org/mailman/listinfo/padre-dev
>
>
--
Fayland Lam // http://www.fayland.org/
Foorum based on Catalyst // http://www.foorumbbs.com/
More information about the Padre-dev
mailing list