Dialog.getWidgetForResponse

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

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.

Meta

Since

2.20