Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets
Inheritance Hierarchy
- SCompoundWidget
- IToolTip
- SToolTip
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/SToolTip.h |
| Include | #include "Widgets/SToolTip.h" |
Syntax
class SToolTip :
public SCompoundWidget,
public IToolTip
Remarks
Slate tool tip widget
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Construct
(
const FArguments& InArgs |
Construct this widget | |
| const FText & | |||
| float |
Overridden from IToolTip
| Type | Name | Description | |
|---|---|---|---|
| TSharedRef< class SWidget > | AsWidget () |
Gets the widget that this tool tip represents. | |
| TSharedRef< SWidget > | Gets the tool tip's content widget. | ||
| bool | IsEmpty () |
Checks whether this tool tip has no content to display right now. | |
| bool | Checks whether this tool tip can be made interactive by the user (by holding Ctrl). | ||
| void | OnClosed () |
Called when the tooltip widget is closed and the tooltip is no longer needed. | |
| void | OnOpening () |
Called when the tooltip widget is about to be requested for opening. | |
| void | OnSetInteractiveWindowLocation
(
FVector2D& InOutDesiredLocation |
Allows an interactive tooltip to adjust and/or change its window location on open, as interactive tooltips don't update the tooltip window to follow the cursor position. | |
| void | Resets the tooltip to its default without a content widget. | ||
| void | SetContentWidget
(
const TSharedRef< SWidget >& InContentWidget |
Sets the tool tip's content widget. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |
Typedefs
| Name | Description |
|---|---|
| FOnSetInteractiveWindowLocation |