(Oops, I originally replied only to the sender.)
-------
Hi,
there is no Gtkmm binding, so one must use the Gtk+ function:
GError *error = NULL;
gtk_show_uri(gdk_screen_get_default(), some_uri,
gtk_get_current_event_time(), &error);
if (error)
{
// display error->message
}
I also found that the Windows build does not support the file:// scheme.
yann
On 30/08/11 06:10, Mj Mendoza IV wrote:
Hi all,
Is there a Gtkmm-way to launch a browser? Like if I have a "Help->Visit
Website" menu, how do I open the user's default browser to browse a site?
I tried looking at Inkscape's implementation, they were using Python
script instead. Although I can use their script, I was wondering if
there's a proper Gtkmm-specific way of doing it.
Regards.
Mj Mendoza IV,
Developer, KonsolScript
http://www.konsolscript.org
Developer, Clash
http://geesas.sourceforge.net/clash
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list