I am using “on_key_press(GdkEvent *key)” method to get the values of key
pressed, what i found was that for keys like “Enter” and “Space Bar” no event key_press is generated.
If i am using enter with shift and crtl is detecting but for alone enter no key press generates.
There is a section about X Event signals in the gtkmm tutorial.
The gtkmm3 version is usually available at https://developer-old.gnome.org/gtkmm-tutorial/3.24/,
but right now I get Error 503 first byte timeout when I try to access it.
I assume that you use gtkmm3. In gtkmm4 you should use Gtk::EventControllerKey.