Gtk.AlertDialog.get_default_button – gtk4 Reference Manual
get_default_button
Description:
public
int
get_default_button
()
Returns the index of the default button.
Parameters:
this
a `GtkAlertDialog`
Returns:
the index of the default button, or -1