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