LinkButton.connectActivateLink

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.

class LinkButton
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] : gtk.link_button.LinkButton)
)
)
&&
Parameters!T.length < 2
)

Parameters

callback T

signal callback delegate or function to connect

bool callback(gtk.link_button.LinkButton linkButton)

linkButton the instance the signal is connected to (optional)

Returns

after Flag!"After"

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

Return Value

Type: gulong

Signal ID