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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback