|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
Components that want to use pop-up tooltips should implement this interface. More...
#include "juce_TooltipClient.h"
Public Member Functions | |
| virtual | ~TooltipClient ()=default |
| Destructor. | |
| virtual String | getTooltip ()=0 |
| Returns the string that this object wants to show as its tooltip. | |
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.
@tags{GUI}
Definition at line 41 of file juce_TooltipClient.h.
Returns the string that this object wants to show as its tooltip.
Implemented in juce::FileListComponent::ItemComponent, juce::SettableTooltipClient, juce::ComboBox, juce::ListBox::RowComponent, juce::TableListBox::RowComp, juce::TreeView::ItemComponent, and juce::TreeView::ContentComponent.