Add API to document keyboard shortcuts added by a plugin
Add API to document keyboard shortcuts added by a plugin.
One of the best places to document a keyboard shortcut (or "accelerator", "keybinding") - currently - is in the Keyboard Shortcuts window, created with GtkShortcutsWindow.
The idea is:
- When a plugin is enabled, its keyboard shortcuts are documented in the GtkShortcutsWindow.
- When a plugin is disabled, its keyboard shortcuts are not documented in the GtkShortcutsWindow.
So a plugin needs to have a way to register what keyboard shortcuts it adds to the application (for documentation purposes).