JX Application Framework
|
Public Attributes | |
const JUtf8Byte * | str |
JSize | strLength |
JXModifierKey | key |
Convert prepended "Ctrl-", "Shift-", "Meta-", "Alt-", "Super-", "Hyper-", and "Mod1-" through "Mod5-" into modifier flags. If the rest of the string is a single character, then we return this in key. We also translate the strings defined in kNMKeyConv because the actual characters can confuse the user. (e.g. Use "Ctrl-dash" instead of "Ctrl--") We also decode "F1" through "F35" to be the function keys that X provides.
"Shift-" is allowed only for alphabetic and control characters because of differences between keyboards.
If a modifier is not available, the shortcut is not installed.
Note that it is a bad idea to use "return" as a shortcut if the window contains a multi-line text editor. It is also a bad idea to use "backspace" and "delete" if the window contains a text input field. "Meta-tab" is not available, because JXWindow catches it.
JXModifierKey JXTMModifierConversion::key |
const JUtf8Byte* JXTMModifierConversion::str |
JSize JXTMModifierConversion::strLength |