SWindow::SetContent

Sets the widget content for this window

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateCore

Header

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

Include

#include "Widgets/SWindow.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Widgets/SWindow.cpp

Syntax

void SetContent
(
    TSharedRef< SWidget > InContent
)

Remarks

Sets the widget content for this window

Parameters

Parameter

Description

InContent

The widget to use as content for this window