Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/MultiBox
Inheritance Hierarchy
- IMultiBlockBaseWidget
- SCompoundWidget
- SMultiBlockBaseWidget
- SToolBarButtonBlock
- SUniformToolbarButtonBlock
- SToolBarComboButtonBlock
- SToolBarStackButtonBlock
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Framework/MultiBox/MultiBox.h |
| Include | #include "Framework/MultiBox/MultiBox.h" |
Syntax
class SMultiBlockBaseWidget :
public IMultiBlockBaseWidget,
public SCompoundWidget
Remarks
MultiBlock Slate base widget (pure virtual). You'll derive your own MultiBlock class from this base class.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bSectionContainsIcons | Does the section this block resides in contain blocks with icons? | |
| EMultiBlockLocation::Type | Location | The MultiBlocks location relative to the other blocks in the set | |
| TSharedPtr< const FMultiBlock > | MultiBlock | The MultiBlock we're associated with | |
| TSharedPtr< SWidget > | OptionsBlockWidget | ||
| TWeakPtr< SMultiBoxWidget > | OwnerMultiBoxWidget | Weak reference back to the MultiBox widget that owns us |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< const FMultiBlock > | GetBlock () |
Overridden from IMultiBlockBaseWidget
| Type | Name | Description | |
|---|---|---|---|
| TSharedRef< SWidget > | AsWidget () |
IMultiBlockBaseWidget interface | |
| TSharedRef< const SWidget > | AsWidget () |
Interprets this object as a SWidget | |
| EMultiBlockLocation::Type | Returns this MultiBlocks location | ||
| bool | IsInEditMode () |
Returns true if editing this widget | |
| void | SetMultiBlock
(
TSharedRef< const FMultiBlock > InMultiBlock |
Associates this widget with a MultiBlock | |
| void | SetMultiBlockLocation
(
EMultiBlockLocation::Type InLocation, |
Sets the blocks location relative to the other blocks | |
| void | SetOptionsBlockWidget
(
TSharedPtr< SWidget > InOptionsBlockWidget |
Adds a dropdown widget for options associated with this widget. The usage of this is block specific | |
| void | SetOwnerMultiBoxWidget
(
TSharedRef< SMultiBoxWidget > InOwnerMultiBoxWidget |
Associates the owner MultiBox widget with this widget |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| void | OnDragEnter
(
const FGeometry& MyGeometry, |
SWidget Interface | |
| FReply | OnDragOver
(
const FGeometry& MyGeometry, |
Called during drag and drop when the the mouse is being dragged over a widget. | |
| FReply | OnDrop
(
const FGeometry& MyGeometry, |
Called when the user is dropping something onto a widget; terminates drag and drop. |