SViewport::OnFocusReceived

KEY INPUT Called when focus is given to this widget. This event does not bubble.

Windows
MacOS
Linux

Override Hierarchy

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

Syntax

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

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

Parameters

Parameter

Description

MyGeometry

The Geometry of the widget receiving the event

InFocusEvent

The FocusEvent

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