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