Navigation
API > API/Developer > API/Developer/ToolWidgets > API/Developer/ToolWidgets/SPrimaryButton
| Name | FArguments |
| Type | struct |
| Header File | /Engine/Source/Developer/ToolWidgets/Public/SPrimaryButton.h |
| Include Path | #include "SPrimaryButton.h" |
Syntax
struct FArguments : public TSlateBaseNamedArgs< SPrimaryButton >
Inheritance Hierarchy
- FSlateBaseNamedArgs → TSlateBaseNamedArgs → SPrimaryButton::FArguments
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FArguments() |
SPrimaryButton.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| WidgetArgsType | FArguments | SPrimaryButton.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
WidgetArgsType & Icon
(
const TAttribute< const FSlateBrush* >& InAttribute |
Optional icon to display in the button. | SPrimaryButton.h | |
WidgetArgsType & OnClicked
(
const FOnClicked& InDelegate |
Called when the button is clicked | SPrimaryButton.h | |
WidgetArgsType & Text
(
const TAttribute< FText >& InAttribute |
The text to display in the button. | SPrimaryButton.h |