FSlateApplicationBase::HasUserFocusedDescendants

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

Choose your operating system:

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.