An implementation of TooltipClient that stores the tooltip string and a method for changing it.
More...
#include <juce_TooltipClient.h>
An implementation of TooltipClient that stores the tooltip string and a method for changing it.
This makes it easy to add a tooltip to a custom component, by simply adding this as a base class and calling setTooltip().
Many of the JUCE widgets already use this as a base class to implement their tooltips.
- See also
- TooltipClient, TooltipWindow
@tags{GUI}
◆ ~SettableTooltipClient()
juce::SettableTooltipClient::~SettableTooltipClient |
( |
| ) |
|
|
overridedefault |
◆ SettableTooltipClient()
juce::SettableTooltipClient::SettableTooltipClient |
( |
| ) |
|
|
protecteddefault |
◆ getTooltip()
String juce::SettableTooltipClient::getTooltip |
( |
| ) |
|
|
inlineoverridevirtual |
◆ setTooltip()
virtual void juce::SettableTooltipClient::setTooltip |
( |
const String & |
newTooltip | ) |
|
|
inlinevirtual |
◆ tooltipString
String juce::SettableTooltipClient::tooltipString |
|
private |
The documentation for this class was generated from the following file: