Navigation
Unreal Engine C++ API Reference > Runtime > SlateCore > Widgets > SWindow
- SWidget::OnFocusReceived()
- SWindow::OnFocusReceived()
References
Module | SlateCore |
Header | /Engine/Source/Runtime/SlateCore/Public/Widgets/SWindow.h |
Include | #include "Widgets/SWindow.h" |
Source | /Engine/Source/Runtime/SlateCore/Private/Widgets/SWindow.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 |