AlertDialog.setCancelButton

void setCancelButton(int button)

Sets the index of the cancel button.

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

Parameters

buttonthe new cancel button