AboutDialog.connectActivateLink

Connect to ActivateLink signal.

Emitted every time a URL is activated.

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

class AboutDialog
ulong
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.about_dialog.AboutDialog)
)
)
&&
Parameters!T.length < 3
)

Parameters

callback T

signal callback delegate or function to connect

bool callback(string uri, gtk.about_dialog.AboutDialog aboutDialog)

uri the URI that is activated (optional)

aboutDialog 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: ulong

Signal ID