src: add help-overlay

This commit is contained in:
0xMRTT 2023-05-02 00:29:18 +02:00
parent 245688918c
commit a037818ea5
Signed by: 0xMRTT
GPG Key ID: 19C1449A774028BD

39
src/gtk/help-overlay.blp Normal file
View File

@ -0,0 +1,39 @@
using Gtk 4.0;
ShortcutsWindow help_overlay {
modal: true;
ShortcutsSection {
section-name: "shortcuts";
max-height: 10;
ShortcutsGroup {
title: C_("shortcut window", "General");
ShortcutsShortcut {
title: C_("shortcut window", "Show Shortcuts");
action-name: "win.show-help-overlay";
}
ShortcutsShortcut {
title: C_("shortcut window", "Quit");
action-name: "app.quit";
}
ShortcutsShortcut {
title: C_("shortcut window", "New Window");
action-name: "app.new_window";
}
ShortcutsShortcut {
title: C_("shortcut window", "Imagine");
action-name: "app.imagine";
}
ShortcutsShortcut {
title: C_("shortcut window", "Choose output");
action-name: "app.choose_output";
}
}
}
}