FSlateApplicationBase::HasFocusedDescendants

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

Windows
MacOS
Linux

Override Hierarchy

FSlateApplicationBase::HasFocusedDescendants()

FSlateApplication::HasFocusedDescendants()

References

Module

SlateCore

Header

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

Include

#include "Application/SlateApplicationBase.h"

Syntax

bool HasFocusedDescendants
(
    const TSharedRef< const SWidget > & Widget
) const

Remarks

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

Returns

true if any descendants are focused, false otherwise.

Parameters

Parameter

Description

Widget

The widget to check.

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