FToolBarBuilder::AddToolBarWidget

Adds any widget to the toolbar

Windows
MacOS
Linux

References

Module

Slate

Header

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

Include

#include "Framework/MultiBox/MultiBoxBuilder.h"

Source

/Engine/Source/Runtime/Slate/Private/Framework/MultiBox/MultiBoxBuilder.cpp

Syntax

void AddToolBarWidget
(
    TSharedRef< SWidget > InWidget,
    const TAttribute< FText > & InLabel,
    FName InTutorialHighlightName,
    bool bSearchable
)

Remarks

Adds any widget to the toolbar

Parameters

Parameter

Description

InWidget

The widget that should be shown in the toolbar

InLabel

Optional Label.

InTutorialHighlightName

Name to identify this widget and highlight during tutorials

bSearchable

If true, widget will be searchable (default == true)

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