UCommonActivatableWidget::NativeGetDesiredFocusTarget

Override to provide the desired widget that should receive focus when this becomes the primary active widget.

Windows
MacOS
Linux

References

Module

CommonUI

Header

/Engine/Plugins/Experimental/CommonUI/Source/CommonUI/Public/CommonActivatableWidget.h

Include

#include "CommonActivatableWidget.h"

Source

/Engine/Plugins/Experimental/CommonUI/Source/CommonUI/Private/CommonActivatableWidget.cpp

Syntax

virtual UWidget * NativeGetDesiredFocusTarget() const

Remarks

Override to provide the desired widget that should receive focus when this becomes the primary active widget. If bAutoRestoreFocus is true, is only called when there is no valid cached restoration target (to provide the default/fallback)

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