InfoBar.connectResponse

Connect to Response signal.

Emitted when an action widget is clicked.

The signal is also emitted when the application programmer calls gtk.info_bar.InfoBar.response. The response_id depends on which action widget was clicked.

class InfoBar
ulong
connectResponse
(
T
)
(,
Flag!"After" after = No.After
)
if (
isCallable!T &&
is(ReturnType!T == void)
&&
(
Parameters!T.length < 1 ||
(
ParameterStorageClassTuple!T[0] == ParameterStorageClass.none &&
is(Parameters!T[0] == int)
)
)
&&
(
Parameters!T.length < 2 ||
(
ParameterStorageClassTuple!T[1] == ParameterStorageClass.none &&
is(Parameters!T[1] : gtk.info_bar.InfoBar)
)
)
&&
Parameters!T.length < 3
)

Parameters

callback T

signal callback delegate or function to connect

void callback(int responseId, gtk.info_bar.InfoBar infoBar)

responseId the response ID (optional)

infoBar the instance the signal is connected to (optional)

after Flag!"After"

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

Return Value

Type: ulong

Signal ID