class
CMiriTooltipManager
- Module
- Miri
- Header
#include "Miri/Framework/CMiriPopupSystems.h"- Namespace
Miri
Properties
| Type | Name | Description |
|---|---|---|
MiriDelegate<void(const std::string&)> | OnOpenDocLink | F1 over a tip with a doc link; the host opens it. |
Public functions
| Returns | Name | Description |
|---|---|---|
CMiriTooltipManager& | Get | |
void | SetHoveredWidget | |
void | ClearHover | |
void | Tick | |
void | SuppressUntilPointerMoves | Hides the tooltip now and blocks any tooltip from appearing until the pointer moves again. |
void | NotifyPointerMoved | Lifts the suppression set by SuppressUntilPointerMoves(). |
bool | IsSuppressed | |
bool | IsShowing | |
TSharedPtr<MWidget> | GetTooltipWidget | |
MiriVec2 | GetPosition | |
void | SetMetadata | |
void | SetRichInfo | 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. |
bool | FindRichInfo | |
void | Reset | Ordered 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() constIsShowing
C++
bool IsShowing() constGetTooltipWidget
C++
TSharedPtr<MWidget> GetTooltipWidget() constGetPosition
C++
MiriVec2 GetPosition() constSetMetadata
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