Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/SToolTip
- IToolTip::OnSetInteractiveWindowLocation()
- SToolTip::OnSetInteractiveWindowLocation()
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/SToolTip.h |
| Include | #include "Widgets/SToolTip.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Widgets/SToolTip.cpp |
virtual void OnSetInteractiveWindowLocation
&40;
FVector2D & InOutDesiredLocation
&41; const
Remarks
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.
Parameters
| Name | Description |
|---|---|
| InOutDesiredLocation | On input, contains the previous cursor position (in screen coordinates) plus the standard tooltip offset (SlateDefs::TooltipOffsetFromMouse). This position can be modified and/or reset to either adjust the offset or otherwise set to a new position as the output value. |