AlertDialog.setCancelButton

void setCancelButton(int button)

Sets the index of the cancel button.

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

Parameters

buttonthe new cancel button