setCloseResponse

open fun setCloseResponse(response: String)

Sets the ID of the close response of @self.

It will be passed to signal@MessageDialog::response if the window is closed by pressing Escape 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.

Since

1.2

Parameters

response

the close response ID