AlertDialog.setDefaultButton

Sets the index of the default button.

See propertyGtk.AlertDialog:default-button for details of how this value is used.

class AlertDialog
void
setDefaultButton
(
int button
)

Parameters

button int

the new default button