![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IToolTip.h>
Inheritance diagram for IToolTip:Public Member Functions | |
| virtual TSharedRef< class SWidget > | AsWidget ()=0 |
| virtual TSharedRef< SWidget > | GetContentWidget ()=0 |
| virtual void | SetContentWidget (const TSharedRef< SWidget > &InContentWidget)=0 |
| virtual void | ResetContentWidget () |
| virtual bool | IsEmpty () const =0 |
| virtual bool | IsInteractive () const =0 |
| virtual void | OnOpening ()=0 |
| virtual void | OnClosed ()=0 |
| virtual void | OnSetInteractiveWindowLocation (FVector2D &InOutDesiredLocation) const |
| virtual | ~IToolTip () |
Interface for tool tips.
|
inlinevirtual |
Virtual destructor.
|
pure virtual |
Gets the widget that this tool tip represents.
Implemented in SToolTip, and FDelegateToolTip.
|
pure virtual |
Gets the tool tip's content widget.
Implemented in SToolTip, and FDelegateToolTip.
Checks whether this tool tip has no content to display right now.
Implemented in SToolTip, and FDelegateToolTip.
Checks whether this tool tip can be made interactive by the user (by holding Ctrl).
Implemented in SToolTip, and FDelegateToolTip.
Called when the tooltip widget is closed and the tooltip is no longer needed.
Implemented in SToolTip, and FDelegateToolTip.
Called when the tooltip widget is about to be requested for opening.
Implemented in SToolTip, and FDelegateToolTip.
|
inlinevirtual |
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.
| 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. |
Reimplemented in SToolTip.
Resets the tooltip to its default without a content widget.
Reimplemented in SToolTip.
|
pure virtual |
Sets the tool tip's content widget.
| InContentWidget | The new content widget to set. |
Implemented in SToolTip, and FDelegateToolTip.