SLogWidget::OnKeyDown

Called after a key is pressed when this widget has keyboard focus

Windows
MacOS
Linux

Override Hierarchy

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

Syntax

virtual FReply OnKeyDown
(
    const FGeometry & MyGeometry,
    const FKeyEvent & InKeyboardEvent
)

Remarks

Called after a key is pressed when this widget has keyboard focus

Returns

Returns whether the event was handled, along with other possible actions

Parameters

Parameter

Description

MyGeometry

The Geometry of the widget receiving the event

InKeyboardEvent

Keyboard event

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss