I’m trying to set the following accelerator shortcut:
ShortcutsWindow help_overlay {
ShortcutsSection {
section-name: "shortcuts";
ShortcutsGroup {
title: "General";
ShortcutsShortcut {
title: "Send message";
accelerator: "<Control>Enter";
}
}
}
}
But I’m getting the error:
Gtk-WARNING **: 22:33:24.154: Failed to parse <Control>Enter, part of accelerator '<Control>Enter'
I’ve also tried <Control><Enter>
, but doesn’t work.
The examples only provides examples with pretty simple keys, but none shows how to set the Enter key.