SWindowTitleBar

Implements a window title bar widget.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Slate

Header

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

Include

#include "Framework/Application/SWindowTitleBar.h"

Syntax

class SWindowTitleBar :
    public SCompoundWidget,
    public IWindowTitleBar

Remarks

Implements a window title bar widget.

Variables

Name Description

Protected variable

TWeakPtr< SWind...

 

OwnerWindowPtr

Holds a weak pointer to the owner window.

Functions

Name Description

Public function

void

 

Construct

(
    const FArguments& InArgs,
    const TSharedRef< SWindow >& InWin...,
    const TSharedPtr< SWidget >& InCen...,
    EHorizontalAlignment InCenterConten...
)

Creates and initializes a new window title bar widget.

Protected function Const

float

 

GetFlashValue()

Protected function Const

FSlateColor

 

GetWindowTitleContentColor()

Protected function

TSharedRef< ...

 

MakeTitleBarContent

(
    TSharedPtr< SWidget > CenterContent,
    EHorizontalAlignment CenterContentA...
)

Creates the title bar's content.

Protected function Virtual

void

 

MakeTitleBarContentWidgets

(
    TSharedPtr< SWidget >& OutLeftCont...,
    TSharedPtr< SWidget >& OutRightCon...
)

Creates widgets for this window's title bar area.

Overridden from SWidget

Name Description

Public function Virtual Const

EWindowZone:...

 

GetWindowZoneOverride()

Called when the mouse is moved over the widget's window, to determine if we should report whether OS-specific features should be active at this location (such as a title bar grip, system menu, etc.) Usually you should not need to override this function.

Overridden from IWindowTitleBar

Name Description

Public function Virtual

void

 

Flash()

Classes

Name

Description

Public struct

FArguments

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