MessageDialog.closeResponse

Get closeResponse property.

  1. string closeResponse [@property getter]
    class MessageDialog
    @property
    string
    closeResponse
    ()
  2. string closeResponse [@property setter]

Return Value

Type: string

The ID of the close response.

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