summaryrefslogtreecommitdiff
path: root/gtk/gtkshortcutaction.h
Commit message (Collapse)AuthorAgeFilesLines
* docs: Fix the links for keybinding signalsMatthias Clasen2020-11-171-0/+3
| | | | | GtkBindingSignal does not exist anymore, so link to GtkSignalAction for an explanation of keybinding signals.
* Add an api to parse shortcut actionsMatthias Clasen2020-04-031-0/+3
| | | | | | This is so we can test this code. While doing it I also fixed the missing else that was caused it not to work.
* Turn GtkShortcutAction into a GObjectEmmanuele Bassi2020-03-251-39/+69
| | | | | | Just like we did for GtkShortcutTrigger. This allows language bindings to properly deal with all the actions.
* shortcutaction: Add gtk_shortcut_action_to_string()Benjamin Otte2020-03-251-0/+5
| | | | For all but the callback action, we can print something useful.
* shortcut: Add GtkShortcutActionBenjamin Otte2020-03-251-0/+123
| | | | | | | | | | | | | | Similar to GtkShortcutTrigger, GtkShortCutAction provides all the different ways to activate a shortcut. So far, these different ways are supported: - do nothing - Call a user-provided callback - Call gtk_widget_activate() - Call gtk_widget_mnemonic_activate() - Emit an action signal - Activate an action from the widget's action muxer
* Revert "Merge branch 'disable-window-test' into 'master'"Matthias Clasen2020-03-191-135/+0
| | | | | This reverts commit 3ac4c76b18cc89a841ce09f0943539f16988fd21, reversing changes made to 6ec96d2e989d029a303b8b20ec72b86f974c0e87.
* shortcutaction: Add gtk_shortcut_action_to_string()Benjamin Otte2020-03-181-0/+5
| | | | For all but the callback action, we can print something useful.
* shortcut: Add GtkShortcutActionBenjamin Otte2020-03-181-0/+130
Similar to GtkShortcutTrigger, GtkShortCutAction provides all the different ways to activate a shortcut. So far, these different ways are supported: - do nothing - Call a user-provided callback - Call gtk_widget_activate() - Call gtk_widget_mnemonic_activate() - Emit an action signal - Activate an action from the widget's action muxer - Activate a GAction