FSlateApplicationBase::HasFocusedDescendants

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

Choose your operating system:

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.