AlertDialog with gtkmm?

Can somebody share an example how to work with AlertDialog in C++/gtkmm?

I have at least following problem with headers connection:

#include <gtkmm/dialog.h>
#include <gtkmm/alertdialog.h> // not found

https://gnome.pages.gitlab.gnome.org/gtkmm/classGtk_1_1AlertDialog.html

AlertDialog is for GTK4 >= 4.10, are you having that?

1 Like

Forgot to say, libgtkmm-4.0-dev 4.8.0-3 (Debian 12 repository)