Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/SWidget
Description
Called when Slate wants to visualize tooltip. If nobody handles this event, Slate will use default tooltip visualization. If you override this event, you should probably return true.
| Name | OnVisualizeTooltip |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Widgets/SWidget.h |
| Include Path | #include "Widgets/SWidget.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Widgets/SWidget.cpp |
virtual bool OnVisualizeTooltip
(
const TSharedPtr < SWidget > & TooltipContent
)
true if this widget visualized the tooltip content; i.e., the event is handled.
Parameters
| Name | Remarks |
|---|---|
| TooltipContent | The TooltipContent that I may want to visualize. |