UCommonActivatableWidget::RequestRefreshFocus

Ask for focus to be re-set to our current DesiredFocusTarget, but only if our node is currently the leaf-most active node (no stealing!).

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

void RequestRefreshFocus()

Remarks

Ask for focus to be re-set to our current DesiredFocusTarget, but only if our node is currently the leaf-most active node (no stealing!). This is useful for complex cases like: the buttons animate in from off-screen, or the buttons are deeply nested in a multi-switcher hierarchy and it would be burdensome to wrap each element in a CommonActivatableWidget.

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