Loading...
Searching...
No Matches
juce::TooltipClient Class Referenceabstract

Detailed Description

Components that want to use pop-up tooltips should implement this interface.

A TooltipWindow will wait for the mouse to hover over a component that implements the TooltipClient interface, and when it finds one, it will display the tooltip returned by its getTooltip() method.

See also
TooltipWindow, SettableTooltipClient

The documentation for this class was generated from the following file:
Inheritance diagram for juce::TooltipClient:

Public Member Functions

virtual ~TooltipClient ()=default
 Destructor.
virtual String getTooltip ()=0
 Returns the string that this object wants to show as its tooltip.

Constructors and Destructors

◆ ~TooltipClient()

virtual juce::TooltipClient::~TooltipClient ( )
virtualdefault

Destructor.

Member Functions

◆ getTooltip()

virtual String juce::TooltipClient::getTooltip ( )
pure virtual

Returns the string that this object wants to show as its tooltip.

Implemented in juce::ComboBox, and juce::SettableTooltipClient.

linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram