FSlateApplication::SetAllUserFocus

Sets the focus for all users to the specified widget. The widget must be allowed to receive focus.

Windows
MacOS
Linux

Override Hierarchy

FSlateApplicationBase::SetAllUserFocus()

FSlateApplication::SetAllUserFocus()

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h

Include

#include "Framework/Application/SlateApplication.h"

Source

/Engine/Source/Runtime/Slate/Private/Framework/Application/SlateApplication.cpp

Syntax

virtual void SetAllUserFocus
(
    const FWidgetPath & InFocusPath,
    const EFocusCause InCause
)

Remarks

Sets the focus for all users to the specified widget. The widget must be allowed to receive focus.

Parameters

Parameter

Description

InWidget

WidgetPath to the Widget to being focused.

InCause

The reason that focus is changing.

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