diff --git a/modules/juce_gui_basics/buttons/juce_Button.h b/modules/juce_gui_basics/buttons/juce_Button.h index 888a666a1a..263c4c1322 100644 --- a/modules/juce_gui_basics/buttons/juce_Button.h +++ b/modules/juce_gui_basics/buttons/juce_Button.h @@ -107,10 +107,12 @@ public: */ bool getToggleState() const noexcept { return isOn.getValue(); } - /** Returns the Value object that represents the botton's toggle state. + /** Returns the Value object that represents the button's toggle state. + You can use this Value object to connect the button's state to external values or setters, either by taking a copy of the Value, or by using Value::referTo() to make it point to your own Value object. + @see getToggleState, Value */ Value& getToggleStateValue() noexcept { return isOn; }