setCancelButton

open fun setCancelButton(button: Int)

Sets the index of the cancel button.

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

Since

4.10

Parameters

button

the new cancel button