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 the TooltipWindow docs for more information about implementing tooltips.
- See also
- TooltipClient, TooltipWindow
◆ ~SettableTooltipClient()
SettableTooltipClient::~SettableTooltipClient |
( |
| ) |
|
|
overridedefault |
◆ SettableTooltipClient()
SettableTooltipClient::SettableTooltipClient |
( |
| ) |
|
|
protecteddefault |
◆ setTooltip()
virtual void SettableTooltipClient::setTooltip |
( |
const String & |
newTooltip | ) |
|
|
virtual |
◆ getTooltip()
String SettableTooltipClient::getTooltip |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file: