All Manuals > CAPI User Guide and Reference Manual > 8 Creating Menus

NextPrevUpTopContentsIndex

8.7 Accelerators in menus

To define an accelerator key for a menu command, supply the initarg accelerator to the menu-item. See menu-item for the details.

8.7.1 Standard default accelerators

On Microsoft Windows and GTK+, by default a standard accelerator is added to a menu item if its title matches a standard menu command. The standard accelerators are:

Edit > Copy

Ctrl+C

Edit > Cut

Ctrl+X

Edit > Find...

Ctrl+F

Edit > Paste

Ctrl+V

Edit > Redo

Ctrl+Y

Edit > Replace...

Ctrl+H

Edit > Select All

Ctrl+A

Edit > Undo

Ctrl+Z

File > Close

Ctrl+W

File > Exit

Ctrl+Q

File > New

Ctrl+N

File > Open ...

Ctrl+O

File > Print ...

Ctrl+P

File > Save

Ctrl+S

Works > Refresh

F5


CAPI User Guide and Reference Manual (Windows version) - 3 Aug 2017

NextPrevUpTopContentsIndex