FSlateUser::IsWidgetInFocusPath

Returns true if the given widget is anywhere in the focus path, including the focused widget itself.

Windows
MacOS
Linux

References

Module

Slate

Header

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

Include

#include "Framework/Application/SlateUser.h"

Source

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

Syntax

bool IsWidgetInFocusPath
(
    TSharedPtr< const SWidget > Widget
) const

Remarks

Returns true if the given widget is anywhere in the focus path, including the focused widget itself.

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