Event controller for "key-pressed" doesn't work with GtkButton
Steps to reproduce
- Download and compile the snippet attached. simple_button_app.c
- Run the snippet.
- Type using the keyboard.
Current behavior
Nothing is printed in the console/terminal.
Expected outcome
Every key stroke should print "Hello key pressed" in the console/terminal.
Version information
GTK3.24.1
Additional information
Using the old "key-press-event" signal handler works as expected.