InfoBar.connectResponse

gulong connectResponse(T)(T callback, 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)

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.

Parameters

callbacksignal 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)
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID