Button is a container of a single child widget slot and fires the OnClick event when the button is clicked.
Verse using statement |
using { /UnrealEngine.com/Temporary/UI } |
Inheritance Hierarchy
This class is derived from widget.
| Name | Description |
|---|---|
widget |
Base class for all UI elements drawn on the |
Members
This class has both data members and functions.
Data
| Data Member Name | Type | Description |
|---|---|---|
Slot |
button_slot |
The child widget of the button. Used only during initialization of the widget and not modified by SetSlot. |
Functions
| Function Name | Description |
|---|---|
GetParentWidget |
Returns the |
GetRootWidget |
Returns the |
GetVisibility |
Returns the current |
HighlightEvent |
|
IsEnabled |
|
OnClick |
Subscribable event that fires when the button is clicked. |
SetEnabled |
Enables or disables whether the |
SetVisibility |
Shows or hides the |
SetWidget |
Sets the child widget slot. |
UnhighlightEvent |