AlertDialog.setCancelButton

Sets the index of the cancel button.

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

class AlertDialog
void
setCancelButton
(
int button
)

Parameters

button int

the new cancel button