Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/MultiBox
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SCompoundWidget
- SMenuOwner
- SMultiBoxWidget
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Framework/MultiBox/MultiBox.h |
| Include | #include "Framework/MultiBox/MultiBox.h" |
Syntax
class SMultiBoxWidget : public SMenuOwner
Remarks
MultiBox Slate widget
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddElement
(
TSharedPtr< SWidget > BlockWidget, |
Adds a widget to MultiBoxWidgets map, to access and modify its visibility based on search filters | |
| void | BeginSearch
(
const TCHAR InChar |
Starts a search and makes the search box visible | |
| void | Builds this MultiBox widget up from the MultiBox associated with it | ||
| void | Construct
(
const FArguments& InArgs |
Construct this widget | |
| void | Changes visibility of widgets in the multibox | ||
| FReply | FocusNextWidget
(
EUINavigation NavigationType |
Helper function used to transfer focus to the next/previous widget | |
| TSharedRef< ITableRow > | GenerateTiles
(
TSharedPtr< SWidget > Item, |
Generates the tiles for an STileView for button rows | |
| EVisibility | GetCustomizationBorderDragVisibility
(
const FName InBlockName, |
||
| EVisibility | GetCustomizationVisibility
(
TWeakPtr< const FMultiBlock > BlockWeakPtr, |
||
| float | |||
| float | GetItemWidth () |
Gets the maximum item width and height of the consituent widgets | |
| TSharedRef< FLinkedBoxManager > | |||
| TSharedRef< const FMultiBox > | GetMultiBox () |
Access the MultiBox associated with this widget | |
| bool | Gets the searchable state of this multibox | ||
| FText | Get the text to search by | ||
| TSharedPtr< SWidget > | Get the SSearchText widget holding the search text | ||
| const FName & | GetStyleName () |
||
| const ISlateStyle * | GetStyleSet () |
||
| double | |||
| bool | IsBlockBeingDragged
(
TSharedPtr< const FMultiBlock > Block |
||
| void | OnCustomCommandDragEnter
(
TSharedRef< const FMultiBlock > MultiBlock, |
Called when a user drags a UI command into a multiblock in this widget | |
| void | OnCustomCommandDragged
(
TSharedRef< const FMultiBlock > MultiBlock, |
Called when a user drags a UI command within multiblock in this widget | |
| void | Called when a user drops a UI command in this widget | ||
| void | Called after a drag was initiated from this box but was dropped elsewhere | ||
| TSharedRef< SWidget > | Event handler for clicking the wrap button | ||
| void | ResetSearch () |
Resets the search to be empty | |
| void | SetContent
(
TSharedRef< SWidget > InContent |
Sets new content for the SMultiBoxWidget | |
| void | SetMaxHeight
(
TAttribute< float > InMaxHeight |
Sets optional maximum height of widget | |
| void | SetMultiBox
(
TSharedRef< FMultiBox > InMultiBox |
Associates this widget with a MultiBox | |
| void | SetSearchable
(
bool bSearchable |
Sets the searchable state of this multibox | |
| void | Set the block widget holding the search text | ||
| void | SetSummonedMenuTime
(
double InSummonedMenuTime |
Records the time that the multibox last summoned a menu |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| FReply | OnDragOver
(
const FGeometry& MyGeometry, |
SWidget interface | |
| FReply | OnDrop
(
const FGeometry& MyGeometry, |
Called when the user is dropping something onto a widget; terminates drag and drop. | |
| FReply | OnFocusReceived
(
const FGeometry& MyGeometry, |
KEY INPUT Called when focus is given to this widget. This event does not bubble. | |
| FReply | OnKeyChar
(
const FGeometry& MyGeometry, |
Called after a character is entered while this widget has keyboard focus | |
| FReply | Called after a key is pressed when this widget has focus (this event bubbles if not handled) | ||
| bool | OnVisualizeTooltip
(
const TSharedPtr< SWidget >& TooltipContent |
Called when Slate wants to visualize tooltip. | |
| bool | Checks to see if this widget supports keyboard focus. Override this in derived classes. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddSearchElement
(
TSharedPtr< SWidget >, |
AddSearchElement is deprecated as non-searchable elements also need to be stored, use AddElement instead |