Dialog.setDefaultResponse

Sets the default widget for the dialog based on the response ID.

Pressing “Enter” normally activates the default widget.

class Dialog
void
setDefaultResponse

Parameters

responseId int

a response ID

Meta