Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Returns a keybinding which can be used to activate this action. The string returned should contain localized, human-readable, key sequences and should be in the format "mnemonic;sequence;shortcut" with each modifier key enclosed in angle brackets.
- Example: For a traditional "New..." menu item, the expected return value would be:
- "n;<Alt>f:n;<Control>n".
- Details:
- The mnemonic key activates the object if it is presently enabled onscreen. This typically corresponds to the underlined letter within the widget. Example: "n" in a traditional "New..." menu item.
- The sequence is the full list keys which invokes the action even if the relevant element is not currently posted on screen (for instance, for a menu item it posts the parent menus before invoking). The sequence string is colon-delimited. Example: "<Alt>f:n" in a traditional "New..." menu item.
- The shortcut, if it exists, will invoke the same action without posting the component or its enclosing menus or dialogs. Example:"<Control>n" in a traditional "New..." menu item.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement