Development Team/Almanac/sugar.graphics.toolbutton: Difference between revisions
Garycmartin (talk | contribs) change from alt to Ctrl as that is the primary modifier |
|||
| Line 44: | Line 44: | ||
=== How do I add a keyboard shortcut to my tool button? === | === How do I add a keyboard shortcut to my tool button? === | ||
In the example below, we add the Ctrl-b short cut to our custom button. | In the example below, we add the Ctrl-b short cut to our custom button. (Activity authors are encouraged to use <ctrl> for most shortcuts.) | ||
#Add keyboard shortcut for customButton | #Add keyboard shortcut for customButton | ||