FSlotBase

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/SlotBase.h

Include

#include "SlotBase.h"

Syntax

class FSlotBase

Variables

Name Description

Protected variable

SWidget *

 

RawParentPtr

The parent and owner of the slot.

Constructors

Name Description

Public function

FSlotBase()

Public function

FSlotBase

(
    const TSharedRef< SWidget >& InWid...
)

Destructors

Name Description

Public function Virtual

~FSlotBase()

Functions

Name Description

Public function

void

 

AttachWidget

(
    const TSharedRef< SWidget >& InWid...
)

Public function

void

 

AttachWidgetParent

(
    SWidget* InParent
)

Public function

const TShare...

 

DetachWidget()

Remove the widget from its current slot.

Public function Const

const TShare...

 

GetWidget()

Access the widget in the current slot.

Protected function

void

 

Invalidate

(
    EInvalidateWidgetReason InvalidateR...
)

Protected function

bool

 

SetAttribute

(
    TAttribute< TargetValueType >& Tar...,
    const TAttribute< SourceValueType >...,
    EInvalidateWidgetReason BaseInvalid...
)

Performs the attribute assignment and invalidates the widget minimally based on what actually changed.

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