set_close_response


Description:

public void set_close_response (string response)

Sets the ID of the close response of this.

It will be passed to [signal@MessageDialog:AdwMessageDialog: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`.

Parameters:

this

a message dialog

response

the close response ID




2022 vala-language.org