Gtk.AlertDialog.set_buttons – gtk4 Reference Manual
set_buttons
Description:
public
void
set_buttons
(
string
[] labels)
Sets the button labels for the alert.
Parameters:
this
a `GtkAlertDialog`
labels
the new button labels