using Gtk 4.0; Dialog { [action response=yes default] Button yes_button { } [action response=no default] Button no_button { } }