scorninpc/php-gtk3

Can't open the link defined in GtkLabel tag

d47081 opened this issue · 3 comments

According to this example
https://andor.com.br/php-gtk/cook/how-to-put-link-inside-gtklabel

On click the link:

Firefox is already running, but is not responding. To use Firefox, you must first close the existing Firefox process, restart your device, or use a different profile.

Is there any build-in functions for example to open links in the new tab?

i3 / Debian

Who handle the link is the OS, not the language or GTK. Gtk just send to OS "open this link"

I guess you need to see your .desktop of default browser, if has %u parameter

is no way to operate some onclick event in GTK/PHP?

I can use GtkButton with activate method instead, but strange there is no access to the links events..

ps. found related article here

I dont get you problem, sorry. I think you dont understand how signals work

All widget has button-press signal, for example