Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Framework/MultiBox/SToolBarButtonBlock.h |
Include |
#include "Framework/MultiBox/SToolBarButtonBlock.h" |
Source |
/Engine/Source/Runtime/Slate/Private/Framework/MultiBox/SToolBarButtonBlock.cpp |
FToolBarButtonBlock
(
const TAttribute< FText > & InLabel,
const TAttribute< FText > & InToolTip,
const TAttribute< FSlateIcon > & InIcon,
const FUIAction & InUIAction,
const EUserInterfaceActionType InUserInterfaceActionType
)
Constructor
Parameter |
Description |
---|---|
InLabel |
The label to display in the menu |
InToolTip |
The tool tip to display when the menu entry is hovered over |
InIcon |
The icon to display to the left of the label |
InUIAction |
UI action to take when this menu item is clicked as well as to determine if the menu entry can be executed or appears "checked" |
InUserInterfaceActionType |
Type of interface action |