FButtonRowBuilder::AddButton

Adds a button to a row

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 AddButton
(
    const FText & InLabel,
    const FText & InToolTip,
    const FUIAction & UIAction,
    const FSlateIcon & InIcon,
    const EUserInterfaceActionType UserInterfaceActionType
)

Remarks

Adds a button to a row

Parameters

Parameter

Description

InLabel

The button label to display

InToolTipOverride

The tooltip for the button

UIAction

Action to execute when the button is clicked or when state should be checked

InIcon

The icon for the button

UserInterfaceActionType

The style of button to display

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