openshot-audio
0.1.6
|
#include <juce_TooltipClient.h>
Public Member Functions | |
virtual | ~SettableTooltipClient () |
virtual void | setTooltip (const String &newTooltip) |
virtual String | getTooltip () |
![]() | |
virtual | ~TooltipClient () |
Protected Member Functions | |
SettableTooltipClient () | |
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.
|
inlinevirtual |
Destructor.
|
inlineprotected |
|
inlinevirtual |
Returns the tooltip assigned to this object.
Implements TooltipClient.
Assigns a new tooltip to this object.
Reimplemented in Button, and FilenameComponent.