Navigation
Unreal Engine C++ API Reference > Runtime > SlateCore
Inheritance Hierarchy
- FSlotBase
- TSlotBase
- FPopupLayerSlot
- FTrackAreaSlot
- SCompoundTrackLaneView::FSlot
- SConcertScrollBox::FSlot
- SConstraintCanvas::FSlot
- SDetailsSplitter::FSlot
- SNodePanel::SNode::FNodeSlot
- SRadialBox::FSlot
- SScrollBarTrack::FSlot
- SSegmentedControl::FSlot
- SSplitter::FSlot
- SSplitter2x2::FSlot
- STrackLane::FSlot
- SUniformGridPanel::FSlot
- SUniformWrapPanel::FSlot
- TSingleWidgetChildrenWithSlot
- FSingleWidgetChildrenWithSlot
- TSingleWidgetChildrenWithBasicLayoutSlot
- FSingleWidgetChildrenWithBasicLayoutSlot
- SBox::FBoxOneChildSlot
- SCompoundWidget::FCompoundWidgetOneChildSlot
- SDPIScaler::FDPIScalerOneChildSlot
- TWidgetSlotWithAttributeSupport
- SCanvas::FSlot
- TBasicLayoutWidgetSlot
- FBasicLayoutWidgetSlot
- SBoxPanel::TSlot
- SBoxPanel::FSlot
- SHorizontalBox::FSlot
- SStackBox::FSlot
- SVerticalBox::FSlot
- SGridPanel::FSlot
- SOverlay::FOverlaySlot
- SResponsiveGridPanel::FSlot
- SScrollBox::FSlot
- SWrapBox::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 | |
---|---|---|---|
![]() |
void | AttachWidget
(
TSharedRef< SWidget >&& InWidget |
Attach the child widget the slot now owns. |
![]() |
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. | |
![]() ![]() |
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 |
Deprecated Variables
Type | Name | Description | |
---|---|---|---|
![]() |
SWidget * | RawParentPtr | RawParentPtr is not used anymore. Use GetOwnerWidget. |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AttachWidgetParent
(
SWidget* InParent |
AttachWidgetParent is not used anymore. Use get SetOwner. |