void set_default_response(int response_id);

This function is used to set the response ID generated by the widget that was added last to the action_area. The last widget is usually the default widget for the dialog, and will be activated when the return key is pressed. The response ID is passed as a parameter to the method.