mirror of
https://github.com/labwc/labwc.git
synced 2026-06-13 14:33:18 -04:00
Menu accelerators are one-letter mnemonics to quickly select/exec items from the current menu. For each menu item, the accelerator is defined as the first character of the item label, converted to lowercase. A different accelerator can be explicitly defined in menu.xml with the special '_' character before the target letter. - Add a field `accelerator` to the `menuitem` struct - Implement `menu_item_select_by_accelerator()` Example: The accelerator for an item with the label "e_macs" is 'm'. |
||
|---|---|---|
| .. | ||
| cursor.c | ||
| gestures.c | ||
| ime.c | ||
| input.c | ||
| key-state.c | ||
| keyboard.c | ||
| meson.build | ||
| tablet-pad.c | ||
| tablet.c | ||
| touch.c | ||