set_default_response


Description:

public void set_default_response (int response_id)

Sets the last widget in the info bar’s action area with the given response_id as the default widget for the dialog.

Pressing “Enter” normally activates the default widget.

Note that this function currently requires this to be added to a widget hierarchy.

Parameters:

this

a `GtkInfoBar`

response_id

a response ID