1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fixed a documentation typo

This commit is contained in:
ed 2019-03-05 12:04:40 +00:00
parent 13fadfe5e3
commit dcd606531a

View file

@ -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; }