[ Version ( since = "4.16" ) ]
public void set_default_response (int response_id)
Sets the last widget in the dialog’s action area with the given response_id as the default widget for the dialog.
Pressing “Enter” normally activates the default widget.
This function is a replacement for set_default_response, which does not work with TitledDialog.
| this |
a TitledDialog. |
| response_id |
a response ID |