-
Notifications
You must be signed in to change notification settings - Fork 0
MUI_Keyadjust
Keyadjust class provides a standardized way to let the user enter keyboard shortcuts for specific actions. The shortcut is checked for consistency and correctness to able to parse it using system functions. Such shortcuts can even be used outside MUI if they are parsed using utility/ParseIX().
It is also possible to define more than a single shortcut for an action. Several shortcuts will be separated by commas. The popup button will open a menu to let the user remove single shortcuts or add additional ones.
Attribute | Version | ISG | Type |
---|---|---|---|
MUIA_Keyadjust_AllowDoubleClick | V20 | ISG | BOOL |
MUIA_Keyadjust_AllowMouseEvents | V20 | ISG | BOOL |
MUIA_Keyadjust_AllowMultipleKeys | V20 | ISG | BOOL |
MUIA_Keyadjust_AllowTripleClick | V20 | ISG | BOOL |
MUIA_Keyadjust_Key | V20 | ISG | STRPTR |
MUIA_Keyadjust_AllowDoubleClick -- V20 [ISG], BOOL
, 0x8042be82
Setting this attribute to FALSE will disable double click handling for the embedded string object.
MUIA_Keyadjust_AllowTripleClick
MUIA_Keyadjust_AllowMouseEvents -- V20 [ISG], BOOL
, 0x8042b61c
Also allow mouse events for shortcuts. By default only keyboard events are allowed and mouse events are used for Keyadjust class' own GUI handling.
MUIA_Keyadjust_AllowMultipleKeys -- V20 [ISG], BOOL
, 0x8042890b
Settings this attribute to FALSE will forbid several shortcuts to be handled by one object. This will also hide the "Add another key" popup menu item.
Defaults to TRUE.
MUIA_Keyadjust_AllowTripleClick -- V20 [ISG], BOOL
, 0x8042fd79
Setting this attribute to FALSE will disable triple click handling for the embedded string object.
MUIA_Keyadjust_AllowDoubleClick
MUIA_Keyadjust_Key -- V20 [ISG], STRPTR
, 0x8042e161
Set or get the complete shortcut description string. Multiple shortcuts will be separated by commas.
Copyright © 1992-2006 by Stefan Stuntz Copyright © 2006-2021 by Thore Böckelmann, Jens Maus |
MUI for AmigaOS Homepage MUI for AmigaOS Wiki |
Updated: 11-Oct-2021 |