FSlateApplicationBase::GetKeyboardFocusedWidget

Gets the widget that currently has keyboard focus, if any.

Windows
MacOS
Linux

Override Hierarchy

FSlateApplicationBase::GetKeyboardFocusedWidget()

FSlateApplication::GetKeyboardFocusedWidget()

References

Module

SlateCore

Header

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

Include

#include "Application/SlateApplicationBase.h"

Syntax

TSharedPtr< SWidget > GetKeyboardFocusedWidget() const

Remarks

Gets the widget that currently has keyboard focus, if any.

Returns

The focused widget, or nullptr if no widget has focus.

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