FSlateApplicationBase::GetUserFocusedWidget

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

FSlateApplicationBase::GetUserFocusedWidget()

FSlateApplication::GetUserFocusedWidget()

References

Module

SlateCore

Header

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

Include

#include "Application/SlateApplicationBase.h"

Syntax

TSharedPtr< SWidget > GetUserFocusedWidget
(
    uint32 UserIndex
) const

Returns

a pointer to the Widget that currently has the users focus; Empty pointer when the user has no focus.