SetKeyboardFocus

Overload list

Windows
MacOS
Linux
Name Description

Public function

bool

 

SetKeyboardFocus

(
    const TSharedPtr< SWidget >& Optio...,
    EFocusCause ReasonFocusIsChanging
)

Sets the Keyboard focus to the specified SWidget

Public function Virtual

bool

 

SetKeyboardFocus

(
    const FWidgetPath& InFocusPath,
    const EFocusCause InCause
)

Sets keyboard focus to the specified widget. The widget must be allowed to receive keyboard focus.

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