response


Description:

[ HasEmitter ]
public virtual signal void response (string response)

This signal is emitted when the dialog is closed.

Note:

Use [class@AlertDialog].

response will be set to the response ID of the button that had been activated.

if the dialog was closed by pressing <kbd>Escape</kbd> or with a system action, response will be set to the value of [property@MessageDialog:close-response].

Parameters:

response

the response ID