Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Application > API/Runtime/SlateCore/Application/FSlateApplicationBase > API/Runtime/SlateCore/Application/FSlateApplicationBase/MakeWindowTitleBar
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Application/SlateApplicationBase.h |
| Include | #include "Application/SlateApplicationBase.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Application/SlateApplicationBase.cpp |
virtual TSharedRef < SWidget > MakeWindowTitleBar
(
const TSharedRef < SWindow > & Window,
const TSharedPtr < SWidget > & CenterContent,
EHorizontalAlignment CenterContentAlignment,
TSharedPtr < IWindowTitleBar > & OutTitleBar
) const
Remarks
Creates a title bar for the specified window. The new title bar widget.
Parameters
| Name | Description |
|---|---|
| Window | The window to create the title bar for. |
| CenterContent | Optional content for the title bar's center (will override window title). |
| CenterContentAlignment | The horizontal alignment of the center content. |
| OutTitleBar | Will hold a pointer to the title bar's interface. |