FSlateApplication::MakeWindowTitleBar

Creates a title bar for the specified window.

Windows
MacOS
Linux

Override Hierarchy

FSlateApplicationBase::MakeWindowTitleBar()

FSlateApplication::MakeWindowTitleBar()

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h

Include

#include "Framework/Application/SlateApplication.h"

Source

/Engine/Source/Runtime/Slate/Private/Framework/Application/SlateApplication.cpp

Syntax

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.

Returns

The new title bar widget.

Parameters

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.

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