Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest > API/Plugins/NetcodeUnitTest/UI > API/Plugins/NetcodeUnitTest/UI/SLogWidget
- SWidget::OnKeyDown()
- SLogWidget::OnKeyDown()
References
| Module | NetcodeUnitTest |
| Header | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/UI/SLogWidget.h |
| Include | #include "UI/SLogWidget.h" |
| Source | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Private/UI/SLogWidget.cpp |
virtual FReply OnKeyDown
&40;
const FGeometry & MyGeometry,
const FKeyEvent & InKeyboardEvent
&41;
Remarks
Called after a key is pressed when this widget has keyboard focus Returns whether the event was handled, along with other possible actions
Parameters
| Name | Description |
|---|---|
| MyGeometry | The Geometry of the widget receiving the event |
| InKeyboardEvent | Keyboard event |