Dialog.getWidgetForResponse

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

class Dialog
getWidgetForResponse

Parameters

responseId int

the response ID used by the dialog widget

Return Value

Type: Widget

the widget button that uses the given response_id, or NULL. [transfer none]

Meta