SWindow::SetWidgetToFocusOnActivate

Sets a widget that should become focused when this window is next activated

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Widgets/SWindow.h

Include

#include "Widgets/SWindow.h"

Syntax

void SetWidgetToFocusOnActivate
(
    TSharedPtr< SWidget > InWidget
)

Remarks

Sets a widget that should become focused when this window is next activated

Parameters

Parameter

Description

InWidget

The widget to set focus to when this window is activated