]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/xul/staff_client/chrome/skin/hotkeys/README
Menu Hotkeys and Toolbars
[working/Evergreen.git] / Open-ILS / xul / staff_client / chrome / skin / hotkeys / README
1 The files in this folder define hotkey sets.
2
3 Each hotkey set should be name.keyset, where name is the name of the set.
4
5 hotkey.properites in the locale directory can set an alternate or translated name for a hotkey set.
6 You should use format like:
7 hotkey.name=newname
8
9 The backend code uses the filename derived name for everything else.
10
11
12 In the files a # denotes a comment, at the start of a line or in the middle.
13
14 Otherwise, the file format is as follows:
15
16 command,modifiers,key/keycode[,keytext]
17
18 command is the ID of the <command> node the hotkey will trigger.
19
20 modifiers is a space-delimited set of modifiers (if any):
21     shift
22     alt
23     control
24     meta
25     accel
26     any
27
28 Prefer accel over control/meta as it picks the appropriate one for the user's platform.
29 any makes any listed before it optional.
30
31 key/keycode is the key or virtual keycode for the hotkey. VK_ constants are treated as keycodes, everything else is a key.
32
33 keytext is an optional setting for specifying the hint text to appear on the menu items.