get_widget_for_response


Description:

[ Version ( since = "2.20" ) ]
public unowned Widget? get_widget_for_response (int response_id)

Gets the widget button that uses the given response ID in the action area of a dialog.

Parameters:

this

a Dialog

response_id

the response ID used by the this widget

Returns:

the widget button that uses the given response_id, or null.