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.

Gets emitted to activate a URI.

Applications may connect to it to override the default behaviour, which is to call [gtk.file_launcher.FileLauncher.launch].

Parameters

callbacksignal 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
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID