set_default_button


Description:

public void set_default_button (int button)

Sets the index of the default button.

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

Parameters:

this

a `GtkAlertDialog`

button

the new default button