How to create a GtkShortcut with a detailed action name?

We want to use a GtkShortcutContoller created with a GListStore of GtkShortcuts. Some of our actions have parameters. How can we create shortcuts for these? We can create GMenuItems and add accelerators to the app using detailed action names, but it doesn’t seem possible to create shortcuts with them (using GtkNamedAction).

OK, I figured this out. One needs to set an argument to the shortcut that contains the parameter (Variant).

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