Navigation
API > API/Plugins > API/Plugins/CommonUI
| Name | ECommonButtonAcceptKeyHandling |
| Type | enum |
| Header File | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Public/CommonUISettings.h |
| Include Path | #include "CommonUISettings.h" |
Syntax
enum ECommonButtonAcceptKeyHandling
{
Ignore,
TriggerClick,
}
Values
| Name | Remarks |
|---|---|
| Ignore | (Default for projects created prior to 5.6) When a CommonButton is focused, it will ignore the configured keys for slate navigation's Accept action (see FNavigationConfig::KeyActionRules), leaving it up to the button's Triggering Input Action to trigger the button's click event. |
| TriggerClick | (Default for new projects as of 5.6) When a CommonButton is focused, it will let all inputs events flow through to the underlying SButton, therefore triggering the button's click event when pressing the configured keys for slate navigation's Accept action (see FNavigationConfig::KeyActionRules) This will prevent input actions that are bound to those keys from triggering while a CommonButton is focused. |