NativeDialog.connectResponse

Connect to Response signal.

Emitted when the user responds to the dialog.

When this is called the dialog has been hidden.

If you call gtk.native_dialog.NativeDialog.hide before the user responds to the dialog this signal will not be emitted.

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

Parameters

callback T

signal callback delegate or function to connect

void callback(int responseId, gtk.native_dialog.NativeDialog nativeDialog)

responseId the response ID (optional)

nativeDialog 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