Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/SViewport
- SWidget::OnFocusReceived()
- SViewport::OnFocusReceived()
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/SViewport.h |
| Include | #include "Widgets/SViewport.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Widgets/SViewport.cpp |
virtual FReply OnFocusReceived
&40;
const FGeometry & MyGeometry,
const FFocusEvent & InFocusEvent
&41;
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 |