UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FDelegateToolTip Class Reference
+ Inheritance diagram for FDelegateToolTip:

Public Member Functions

virtual TSharedRef< class SWidgetAsWidget () override
 
virtual TSharedRef< SWidgetGetContentWidget () override
 
virtual void SetContentWidget (const TSharedRef< SWidget > &InContentWidget) override
 
virtual bool IsEmpty () const override
 
virtual bool IsInteractive () const override
 
virtual void OnClosed () override
 
virtual void OnOpening () override
 
- Public Member Functions inherited from IToolTip
virtual void ResetContentWidget ()
 
virtual void OnSetInteractiveWindowLocation (FVector2D &InOutDesiredLocation) const
 
virtual ~IToolTip ()
 

Public Attributes

UWidget::FGetWidget ToolTipWidgetDelegate
 

Detailed Description

Interface for tool tips.

Member Function Documentation

◆ AsWidget()

virtual TSharedRef< class SWidget > FDelegateToolTip::AsWidget ( )
inlineoverridevirtual

Gets the widget that this tool tip represents.

Returns
The tool tip widget.

Implements IToolTip.

◆ GetContentWidget()

virtual TSharedRef< SWidget > FDelegateToolTip::GetContentWidget ( )
inlineoverridevirtual

Gets the tool tip's content widget.

Returns
The content widget.

Implements IToolTip.

◆ IsEmpty()

virtual bool FDelegateToolTip::IsEmpty ( ) const
inlineoverridevirtual

Checks whether this tool tip has no content to display right now.

Returns
true if the tool tip has no content to display, false otherwise.

Implements IToolTip.

◆ IsInteractive()

virtual bool FDelegateToolTip::IsInteractive ( ) const
inlineoverridevirtual

Checks whether this tool tip can be made interactive by the user (by holding Ctrl).

Returns
true if it is an interactive tool tip, false otherwise.

Implements IToolTip.

◆ OnClosed()

virtual void FDelegateToolTip::OnClosed ( )
inlineoverridevirtual

Called when the tooltip widget is closed and the tooltip is no longer needed.

Implements IToolTip.

◆ OnOpening()

virtual void FDelegateToolTip::OnOpening ( )
inlineoverridevirtual

Called when the tooltip widget is about to be requested for opening.

Implements IToolTip.

◆ SetContentWidget()

virtual void FDelegateToolTip::SetContentWidget ( const TSharedRef< SWidget > &  InContentWidget)
inlineoverridevirtual

Sets the tool tip's content widget.

Parameters
InContentWidgetThe new content widget to set.

Implements IToolTip.

Member Data Documentation

◆ ToolTipWidgetDelegate

UWidget::FGetWidget FDelegateToolTip::ToolTipWidgetDelegate

The documentation for this class was generated from the following file: