AlertDialog.setDefaultButton

void setDefaultButton(int button)

Sets the index of the default button.

See gtk.alert_dialog.AlertDialog.defaultButton for details of how this value is used.

Parameters

buttonthe new default button