Ways to implement gtkmm keyboard shortcuts

I’m still learning GTKMM and so far I’ve learned how to use accelerator keys to implement keyboard shortcuts. However, I’m really curious if there are other ways to implement them. My knowledge is limited to this interesting post so far; integrating accelerator keys either to toolbar or menubar. Or both.

What do programs like Gedit and Builder use? Their GtkShortcutsWindow has tons and tons of keyboard shortcuts list and I’m having difficulty getting familiar with their C code (just too lazy to give some effort)

I’d really appreciate pointers on what methods you use from your side or how those GNOME apps implement them.

The web is too clean! Couldn’t find decent blog post or tutorials about this topic

PS: Don’t hesitate to copy-paste over here too.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.