Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Input/Events.h |
Include |
#include "Input/Events.h" |
enum EFocusCause
{
Mouse,
Navigation,
SetDirectly,
Cleared,
OtherWidgetLostFocus,
WindowActivate,
}
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. |
Context for focus change