setDefaultButton

open fun setDefaultButton(button: Int)

Sets the index of the default button.

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

Since

4.10

Parameters

button

the new default button