Label.connectActivateLink

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.

class Label
gulong
connectActivateLink
(
T
)
(,
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
)

Parameters

callback T

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 Flag!"After"

Yes.After to execute callback after default handler, No.After to execute before (default)

Return Value

Type: gulong

Signal ID