set_default_response


Description:

public void set_default_response (string? response)

Sets the ID of the default response of this.

If set, pressing <kbd>Enter</kbd> will activate the corresponding button.

If set to `NULL` or to a non-existent response ID, pressing <kbd>Enter</kbd> will do nothing.

Parameters:

this

a message dialog

response

the default response ID