hiBindKeyModifiers
hiBindKeyModifiers( [s_type] ) =>l_modifiers
Description
Returns the list of modifiers that can be used with bindkeys in the current session. You can specify the type of keys for which you want the list of legal modifiers: printable, mouse, or function.
By default Alt cannot be used as a modifier with any printable characters (alphanumeric and special characters) because it is used as a modifier for menu access keys. Alt can be used with function keys and for mouse bindings. However, if menu access keys are disabled, Alt is a legal modifier for all keys, including printable characters.
To enable Alt for printable characters in bindkeys, you need to disable menu access keys.
If a window manager or desktop, such as CDE, predefines an Alt+key or Alt+mouseButton binding, then that combination will not work as a menu access key or bindkey on that system.
Argument
Values Returned
|
List of modifiers that can be used with the type of keys specified. |
Examples
Returns the list of modifiers for the ’printable keys.
hiBindKeyModifiers(’printable)
=> ("Shift" "Ctrl" "Meta")
Returns the list of modifiers for the ’function keys.
hiBindKeyModifiers(’function)
=> ("Shift" "Ctrl" "Alt" "Meta")
Related Topics
Return to top