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