Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Widgets
Inheritance Hierarchy
- IToolTip
- SToolTip
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Widgets/IToolTip.h |
| Include | #include "Widgets/IToolTip.h" |
Syntax
class IToolTip
Remarks
Interface for tool tips.
Destructors
| Type | Name | Description | |
|---|---|---|---|
~IToolTip () |
Virtual destructor. |
Functions
| 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. |