Label.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] == string)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gtk.label.Label)))
&& Parameters!T.length < 3)Connect to ActivateLink signal.
The signal which gets emitted to activate a URI. Applications may connect to it to override the default behaviour, which is to call [gtk.global.showUriOnWindow].
Parameters
callback | signal callback delegate or function to connect bool callback(string uri, gtk.label.Label label) uri the URI that is activated (optional) label the instance the signal is connected to (optional) Returns true if the link has been activated |
after | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Signal ID