Navigation
API > API/Runtime > API/Runtime/SlateCore
Inheritance Hierarchy
- FSlotBase
- TSlotBase
- FPopupLayerSlot
- SSplitter::FSlot
- TSingleWidgetChildrenWithSlot
- FSingleWidgetChildrenWithSlot
- TSingleWidgetChildrenWithBasicLayoutSlot
- FSingleWidgetChildrenWithBasicLayoutSlot
- SCompoundWidget::FCompoundWidgetOneChildSlot
- TWidgetSlotWithAttributeSupport
- TBasicLayoutWidgetSlot
- FBasicLayoutWidgetSlot
- SBoxPanel::TSlot
- SBoxPanel::FSlot
- SHorizontalBox::FSlot
- SStackBox::FSlot
- SScrollBox::FSlot
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/SlotBase.h |
| Include | #include "SlotBase.h" |
Syntax
class FSlotBase
Remarks
Slot are a container of a SWidget used by the FChildren.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSlotBase () |
|||
FSlotBase
(
const TSharedRef< SWidget >& InWidget |
|||
Destructors
| Type | Name | Description | |
|---|---|---|---|
~FSlotBase () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FORCEINLINE_DEBUGGABLE void | AttachWidget
(
TSharedRef< SWidget >&& InWidget |
Attach the child widget the slot now owns. | |
| FORCEINLINE_DEBUGGABLE void | AttachWidget
(
const TSharedRef< SWidget >& InWidget |
||
| const TSharedPtr< SWidget > | DetachWidget () |
Remove the widget from its current slot. | |
| const FChildren * | GetOwner () |
Access the FChildren that own the slot. | |
| SWidget * | Access the widget that own the slot. The owner can be invalid when the slot is not attached. | ||
| FORCEINLINE_DEBUGGABLE const TSharedRef< SWidget > & | GetWidget () |
Access the widget in the current slot. | |
| void | Invalidate
(
EInvalidateWidgetReason InvalidateReason |
Invalidate the widget's owner. | |
| bool | SetAttribute
(
TAttribute< TargetValueType >& TargetValue, |
Performs the attribute assignment and invalidates the widget minimally based on what actually changed. | |
| void | Set the owner of the slot. Slots cannot be reassigned to different parents. |
Operators
Classes
| Type | Name | Description | |
|---|---|---|---|
| FSlotArguments |