|
LMMS
|
#include <juce_TooltipClient.h>
Public Member Functions | |
| ~SettableTooltipClient () override=default | |
| virtual void | setTooltip (const String &newTooltip) |
| String | getTooltip () override |
| Public Member Functions inherited from juce::TooltipClient | |
| virtual | ~TooltipClient ()=default |
Protected Member Functions | |
| SettableTooltipClient ()=default | |
Private Attributes | |
| String | tooltipString |
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.
@tags{GUI}
|
overridedefault |
Destructor.
|
protecteddefault |
|
inlineoverridevirtual |
Returns the tooltip assigned to this object.
Implements juce::TooltipClient.
Assigns a new tooltip to this object.
Reimplemented in juce::Button, juce::ComboBox, and juce::FilenameComponent.
|
private |