class

CMiriTooltipManager

Module
Miri
Header
#include "Miri/Framework/CMiriPopupSystems.h"
Namespace
Miri

Properties

TypeNameDescription
MiriDelegate<void(const std::string&)>OnOpenDocLinkF1 over a tip with a doc link; the host opens it.

Public functions

ReturnsNameDescription
CMiriTooltipManager&Get
voidSetHoveredWidget
voidClearHover
voidTick
voidSuppressUntilPointerMovesHides the tooltip now and blocks any tooltip from appearing until the pointer moves again.
voidNotifyPointerMovedLifts the suppression set by SuppressUntilPointerMoves().
boolIsSuppressed
boolIsShowing
TSharedPtr<MWidget>GetTooltipWidget
MiriVec2GetPosition
voidSetMetadata
voidSetRichInfotooltip.json's rich parts for one widget: the shortcut drawn as key caps beside the title ("Ctrl+Shift+S") and a documentation link under a rule, which F1 opens while the tip shows.
boolFindRichInfo
voidResetOrdered shutdown hook — see CMiriWidgetReflectorManager::Reset.

Function details

Get

C++
static CMiriTooltipManager& Get()

SetHoveredWidget

C++
void SetHoveredWidget(TSharedPtr<MWidget> widget, const MiriVec2& cursorPos)

ClearHover

C++
void ClearHover()

Tick

C++
void Tick(float deltaTime)

SuppressUntilPointerMoves

C++
void SuppressUntilPointerMoves()

Hides the tooltip now and blocks any tooltip from appearing until the pointer moves again. Every mouse press, every popup that opens and every loss of window focus goes through here — a tooltip must never outlive the hover that produced it.

NotifyPointerMoved

C++
void NotifyPointerMoved()

Lifts the suppression set by SuppressUntilPointerMoves().

IsSuppressed

C++
bool IsSuppressed() const

IsShowing

C++
bool IsShowing() const

GetTooltipWidget

C++
TSharedPtr<MWidget> GetTooltipWidget() const

GetPosition

C++
MiriVec2 GetPosition() const

SetMetadata

C++
void SetMetadata(const CTooltipMetadata& meta)

SetRichInfo

C++
void SetRichInfo(const TSharedPtr<MWidget>& widget, const FMiriRichTooltip& info)

tooltip.json's rich parts for one widget: the shortcut drawn as key caps beside the title ("Ctrl+Shift+S") and a documentation link under a rule, which F1 opens while the tip shows. Held beside the widget rather than on it, so a plain widget pays nothing.

FindRichInfo

C++
bool FindRichInfo(const MWidget* widget, FMiriRichTooltip& outInfo)

Reset

C++
void Reset()

Ordered shutdown hook — see CMiriWidgetReflectorManager::Reset.

Generated from Miri/Framework/CMiriPopupSystems.h via miri.json · Dec 5, 2026Version 1.1.0