Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/Docking
Inheritance Hierarchy
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Framework/Docking/STabDrawer.h |
| Include | #include "Framework/Docking/STabDrawer.h" |
Syntax
class STabDrawer : public SCompoundWidget
Remarks
A tab drawer is a widget that contains the contents of a widget when that widget is in a sidebar
Destructors
| Type | Name | Description | |
|---|---|---|---|
~STabDrawer () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Close () |
Begins an animation which closes the drawer | |
| void | Construct
(
const FArguments& InArgs, |
||
| const TSharedRef< SDockTab > | GetTab () |
||
| bool | IsClosing () |
||
| bool | IsOpen () |
||
| void | Open
(
bool bAnimateOpen |
Opens the drawer | |
| void | SetCurrentSize
(
float InSize |
Sets the current size of the drawer, ignoring any open/close animation |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| FVector2D | ComputeDesiredSize
(
float LayoutScaleMultiplier |
Compute the ideal size necessary to display this widget. | |
| void | OnArrangeChildren
(
const FGeometry& AllottedGeometry, |
Compute the Geometry of all the children and add populate the ArrangedChildren list with their values. | |
| FCursorReply | OnCursorQuery
(
const FGeometry& MyGeometry, |
The system asks each widget under the mouse to provide a cursor. This event is bubbled. | |
| FReply | OnMouseButtonDown
(
const FGeometry& MyGeometry, |
MOUSE INPUT The system calls this method to notify the widget that a mouse button was pressed within it. | |
| FReply | OnMouseButtonUp
(
const FGeometry& MyGeometry, |
The system calls this method to notify the widget that a mouse button was release within it. | |
| void | OnMouseLeave
(
const FPointerEvent& MouseEvent |
The system will use this event to notify a widget that the cursor has left it. | |
| FReply | OnMouseMove
(
const FGeometry& MyGeometry, |
The system calls this method to notify the widget that a mouse moved within it. | |
| int32 | OnPaint
(
const FPaintArgs& Args, |
The widget should respond by populating the OutDrawElements array with FDrawElements that represent it and any of its children. | |
| bool | SWidget interface |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |