How do I handle keyboard events in GTK+3?
问题 What signals/functions should I use to get keyboard input in GTK+3? I have looked around and the only tutorials I know of that cover GTK+3 (zetcode and gnome developer) don't seem to cover that. Anyone can point me in the right direction? 回答1: Thanks xing for your advice, It was really helpful. I was lost, hence my question that is perhaps too general to escape the traditional downvoting of part of the C community. I will summarize here how to handle keyboard events in GTK3, which I hope will