FSlateApplicationBase::HasUserFocusedDescendants

Checks whether the specified widget has any descendants which are currently focused for the specified user user.

Windows
MacOS
Linux

Override Hierarchy

FSlateApplicationBase::HasUserFocusedDescendants()

FSlateApplication::HasUserFocusedDescendants()

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Application/SlateApplicationBase.h

Include

#include "Application/SlateApplicationBase.h"

Syntax

bool HasUserFocusedDescendants
(
    const TSharedRef< const SWidget > & Widget,
    int32 UserIndex
) const

Remarks

Checks whether the specified widget has any descendants which are currently focused for the specified user user.

Returns

true if any descendants are focused, false otherwise.

Parameters

Parameter

Description

Widget

The widget to check.

InUserIndex

Index of the user that we want to check for.

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