Navigation
Unreal Engine C++ API Reference > Runtime > SlateCore > Input
References
Module | SlateCore |
Header | /Engine/Source/Runtime/SlateCore/Public/Input/Events.h |
Include | #include "Input/Events.h" |
Syntax
enum EFocusCause
{
Mouse,
Navigation,
SetDirectly,
Cleared,
OtherWidgetLostFocus,
WindowActivate,
}
Values
Name | Description |
---|---|
Mouse | Focus was changed because of a mouse action. |
Navigation | Focus was changed in response to a navigation, such as the arrow keys, TAB key, controller DPad, ... |
SetDirectly | Focus was changed because someone asked the application to change it. |
Cleared | Focus was explicitly cleared via the escape key or other similar action. |
OtherWidgetLostFocus | Focus was changed because another widget lost focus, and focus moved to a new widget. |
WindowActivate | Focus was set in response to the owning window being activated. |
Remarks
Context for focus change