Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Widgets > API/Runtime/SlateCore/Widgets/SWidget
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Widgets/SWidget.h |
| Include | #include "Widgets/SWidget.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Widgets/SWidget.cpp |
virtual FReply OnFocusReceived
(
const FGeometry & MyGeometry,
const FFocusEvent & InFocusEvent
)
Remarks
KEY INPUT Called when focus is given to this widget. This event does not bubble. Returns whether the event was handled, along with other possible actions
Parameters
| Name | Description |
|---|---|
| MyGeometry | The Geometry of the widget receiving the event |
| InFocusEvent | The FocusEvent |