AlertDialog.closeResponse

string closeResponse() @property

Get closeResponse property.

Returns

The ID of the close response.

It will be passed to signal@AlertDialog::response if the dialog is closed by pressing <kbd>Escape</kbd> or with a system action.

It doesn't have to correspond to any of the responses in the dialog.

The default close response is close.

void closeResponse(string propval) @property

Set closeResponse property.

Parameters

propvalThe ID of the close response. It will be passed to signal@AlertDialog::response if the dialog is closed by pressing <kbd>Escape</kbd> or with a system action. It doesn't have to correspond to any of the responses in the dialog. The default close response is close.