InfoBar.connectResponse

Connect to Response signal.

Emitted when an action widget is clicked or the application programmer calls gtk.dialog.Dialog.response. The response_id depends on which action widget was clicked.

class InfoBar
gulong
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: gulong

Signal ID