set_cancel_button


Description:

public void set_cancel_button (int button)

Sets the index of the cancel button.

See [property@Gtk.AlertDialog:cancel-button] for details of how this value is used.

Parameters:

this

a `GtkAlertDialog`

button

the new cancel button