set_default_response


Description:

public void set_default_response (int response_id)

Sets the default widget for the dialog based on the response ID.

Note:

Use [class@Gtk.Window] instead

Pressing “Enter” normally activates the default widget.

Parameters:

this

a `GtkDialog`

response_id

a response ID