Closed d47081 closed 7 months ago
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?
onclick
I can use GtkButton with activate method instead, but strange there is no access to the links events..
GtkButton
activate
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
button-press
According to this example https://andor.com.br/php-gtk/cook/how-to-put-link-inside-gtklabel
On click the link:
Is there any build-in functions for example to open links in the new tab?
i3 / Debian