FReply::SetUserFocus

An event should return [FReply::Handled()](API\Runtime\SlateCore\Input\FReply\Handled).SetUserFocus( SomeWidget ) as a means of asking the system to set users focus to the provided widget

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Input/Reply.h

Include

#include "Input/Reply.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Input/Reply.cpp

Syntax

FReply & SetUserFocus
(
    TSharedRef< SWidget > GiveMeFocus,
    EFocusCause ReasonFocusIsChanging,
    bool bInAllUsers
)

Remarks

An event should return FReply::Handled().SetUserFocus( SomeWidget ) as a means of asking the system to set users focus to the provided widget

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