Dialog.getWidgetForResponse

gtk.widget.Widget getWidgetForResponse(int responseId)

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

Parameters

responseIdthe response ID used by the dialog widget

Returns

the widget button that uses the given

response_id

Deprecated

Use [gtk.window.Window] instead