Signal

GtkLabel::activate-link

Declaration

gboolean
activate_link (
  GtkLabel* self,
  gchar* uri,
  gpointer user_data
)

Description [src]

Gets emitted to activate a URI.

Applications may connect to it to override the default behaviour, which is to call gtk_file_launcher_launch().

Default handler:

The default handler is called after the handlers added via g_signal_connect().

Parameters

uri

Type: gchar*

The URI that is activated.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

True if the link has been activated.