Associating a Mnemonic with a Gadget Label
To associate a mnemonic with a gadget label, type a caret (^) before the letter that you want to use as a mnemonic:
gadget->setLabel("^File");
char mnemo = gadget->getMnemonic();
To type a caret (^) inside a gadget label, use the Escape sequence: \^.
You can have a different mnemonic depending on the language you use. You could, for example, have a special entry in your language database (.dbm file) such as:
Message: &MenuPrinterSetup
en_US: Printer ^Setup
en_Fr: ^Configuration imprimante
In French, the letter used as the mnemonic is āCā whereas it is āSā in English.