IToolTip

Interface for tool tips.

Windows
MacOS
Linux

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

Name Description

Public function Virtual

~IToolTip()

Virtual destructor.

Functions

Name Description

Public function

TSharedRef< ...

 

AsWidget()

Gets the widget that this tool tip represents.

Public function

TSharedRef< ...

 

GetContentWidget()

Gets the tool tip's content widget.

Public function Const

bool

 

IsEmpty()

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

Public function Const

bool

 

IsInteractive()

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

Public function

void

 

OnClosed()

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

Public function

void

 

OnOpening()

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

Public function Virtual

void

 

ResetContentWidget()

Resets the tooltip to its default without a content widget.

Public function

void

 

SetContentWidget

(
    const TSharedRef< SWidget >& InCon...
)

Sets the tool tip's content widget.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss