TSingleWidgetChildrenWithSlot

A [FChildren](API\Runtime\SlateCore\Layout\FChildren) that has only one child and can take a templated slot.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Layout/Children.h

Include

#include "Layout/Children.h"

Syntax

template<typename SlotType>
class TSingleWidgetChildrenWithSlot :
    public FChildren,
    protected TSlotBase< SlotType >

Remarks

A FChildren that has only one child and can take a templated slot.

Constructors

Name Description

Public function

TSingleWidgetChildrenWithSlot

(
    SWidget* InOwner
)

Public function

TSingleWidgetChildrenWithSlot

(
    std::nullptr_t
)

Public function

TSingleWidgetChildrenWithSlot

(
    SWidget* InOwner,
    FName InName
)

Functions

Name Description

Public function

TSlotBase< S...

 

AsSlot()

Public function Const

const TSlotB...

 

AsSlot()

Public function

void

 

Construct

(
    FSlotArguments&& InArgs
)

Public function

SlotType &

 

Expose

(
    SlotType*& OutVarToInit
)

Overridden from FChildren

Name Description

Public function Virtual

TSharedRef< ...

 

GetChildAt

(
    int32 Index
)

Public function Virtual Const

TSharedRef< ...

 

GetChildAt

(
    int32 Index
)

Public function Virtual Const

int32

 

Num()

Operators

Name Description

Public function

SlotType &

 

operator[]

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

Classes

Name

Description

Public struct

FSlotArguments