Choose your operating system:
Windows
macOS
Linux
Deprecated
This version of MakeWindowTitleBar has been deprecated. Use the version that takes in an FWindowTitleBarArgs parameter instead.
Module |
|
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
Creates a title bar for the specified window.
The new title bar widget.
Parameter |
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. |