FMultiBox

MultiBox. Contains a list of MultiBlocks that provide various functionality.

Windows
MacOS
Linux

Inheritance Hierarchy

TSharedFromThis

FMultiBox

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/MultiBox/MultiBox.h

Include

#include "Framework/MultiBox/MultiBox.h"

Syntax

class FMultiBox : public TSharedFromThis< FMultiBox >

Remarks

  1. Contains a list of MultiBlocks that provide various functionality.

Variables

Name Description

Public variable

bool

 

bHasSearchWidget

Whether the MultiBox has a search widget

Public variable

FOnModifyBlockW...

 

ModifyBlockWidgetAfterMake

Allow further modifications to the block's widget after it has been made

Public variable

TWeakObjectPtr<...

 

WeakToolMenu

Weak reference to tool menu that created this multibox

Constructors

No constructors are accessible with public or protected access.

Destructors

Name Description

Public function Virtual

~FMultiBox()

Functions

Name Description

Public function

void

 

AddMultiBlock

(
    TSharedRef< const FMultiBlock > InB...
)

Adds a MultiBlock to this MultiBox, to the end of the list

Public function

void

 

AddMultiBlockToFront

(
    TSharedRef< const FMultiBlock > InB...
)

Adds a MultiBlock to this MultiBox, to the front of the list

Public function Static

TSharedRef< ...

 

Create

(
    const EMultiBoxType InType,
    FMultiBoxCustomization InCustomizat...,
    const bool bInShouldCloseWindowAfte...
)

Creates a new multibox instance

Public function Const

TSharedPtr< ...

 

FindBlockFromNameAndType

(
    const FName InName,
    const EMultiBlockType InType
)

Finds an existing block by name and type

Public function Const

const TArray...

 

GetBlocks()

Access this MultiBox's list of blocks

Public function Const

FName

 

GetCustomizationName()

Public function Const

int32

 

GetSectionEditBounds

(
    const int32 Index,
    int32& OutSectionEndIndex
)

Only callable during edit mode

Public function Const

const FName ...

 

GetStyleName()

Public function Const

const ISlate...

 

GetStyleSet()

Public function Const

UToolMenuBas...

 

GetToolMenu()

Public function Const

const EMulti...

 

GetType()

Gets the type of this MultiBox

Public function

void

 

InsertCustomMultiBlock

(
    TSharedRef< const FMultiBlock > InB...,
    int32 Index
)

Inserts a MultiBlock to the list for user customization

Public function Const

bool

 

IsInEditMode()

Public function Const

TSharedPtr< ...

 

MakeMultiBlockFromCommand

(
    TSharedPtr< const FUICommandInfo > ...,
    bool bCommandMustBeBound
)

Creates a block from the provided command that is compatible with this box

Public function

TSharedRef< ...

 

MakeWidget

(
    bool bSearchable,
    FOnMakeMultiBoxBuilderOverride*...,
    TAttribute< float > InMaxHeight
)

Creates a MultiBox widget for this MultiBox

Public function Const

const FEditS...

 

OnEditSelectionChanged()

Delegate to call while editing when selected block has changed

Public function

FEditSelecti...

 

OnEditSelectionChanged()

Delegate to call while editing when selected block has changed

Public function

void

 

RemoveCustomMultiBlock

(
    TSharedRef< const FMultiBlock > InB...
)

Removes a MultiBlock from the list for user customization

Public function

void

 

SetStyle

(
    const ISlateStyle* InStyleSet,
    const FName& InStyleName
)

Sets the style to use on the multibox widgets

Public function Const

bool

 

ShouldCloseWindowAfterMenuSelection()

Gets whether or not the window that contains this multibox should be destroyed after the user clicks on a menu item in this box

Typedefs

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