LinkButton.connectActivateLink

gulong connectActivateLink(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == bool) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gtk.link_button.LinkButton))) && Parameters!T.length < 2)

Connect to ActivateLink signal.

The ::activate-link signal is emitted each time the #GtkLinkButton has been clicked.

The default handler will call [gtk.global.showUriOnWindow] with the URI stored inside the #GtkLinkButton:uri property.

To override the default behavior, you can connect to the ::activate-link signal and stop the propagation of the signal by returning true from your handler.

Parameters

callbacksignal callback delegate or function to connect bool callback(gtk.link_button.LinkButton linkButton) linkButton the instance the signal is connected to (optional) Returns
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID