wiki:Documentation/API/MUI_Keyadjust

Keyadjust.mui

Super class

Group.mui

Background

Keyadjust.mui 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.

Attributes

Attribute Version ISG Type
MUIA_Keyadjust_AllowDoubleClick V20ISGBOOL
MUIA_Keyadjust_AllowMouseEvents V20ISGBOOL
MUIA_Keyadjust_AllowMultipleKeys V20ISGBOOL
MUIA_Keyadjust_AllowTripleClick V20ISGBOOL
MUIA_Keyadjust_Key V20ISGSTRPTR


MUIA_Keyadjust_AllowDoubleClick

NAME

MUIA_Keyadjust_AllowDoubleClick — V20 [ISG], BOOL, 0x8042be82

FUNCTION

Setting this attribute to FALSE will disable double click handling for the embedded string object.

SEE ALSO

MUIA_Keyadjust_AllowTripleClick

MUIA_Keyadjust_AllowMouseEvents

NAME

MUIA_Keyadjust_AllowMouseEvents — V20 [ISG], BOOL, 0x8042b61c

FUNCTION

Also allow mouse events for shortcuts. By default only keyboard events are allowed and mouse events are used for Keyadjust.mui's own GUI handling.

MUIA_Keyadjust_AllowMultipleKeys

NAME

MUIA_Keyadjust_AllowMultipleKeys — V20 [ISG], BOOL, 0x8042890b

FUNCTION

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

NAME

MUIA_Keyadjust_AllowTripleClick — V20 [ISG], BOOL, 0x8042fd79

FUNCTION

Setting this attribute to FALSE will disable triple click handling for the embedded string object.

SEE ALSO

MUIA_Keyadjust_AllowDoubleClick

MUIA_Keyadjust_Key

NAME

MUIA_Keyadjust_Key — V20 [ISG], STRPTR, 0x8042e161

FUNCTION

Set or get the complete shortcut description string. Multiple shortcuts will be separated by commas.


Copyright © 1992-2006 by Stefan Stuntz
Copyright © 2006-2017 by Thore Böckelmann, Jens Maus

MUI for AmigaOS - MUI-Autodocs

Updated: 12-Oct-2017

Last modified 7 months ago Last modified on Mar 27, 2017, 4:02:59 PM