Browse Source

Fixed a documentation typo

tags/2021-05-28
ed 6 years ago
parent
commit
dcd606531a
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      modules/juce_gui_basics/buttons/juce_Button.h

+ 3
- 1
modules/juce_gui_basics/buttons/juce_Button.h View File

@@ -107,10 +107,12 @@ public:
*/ */
bool getToggleState() const noexcept { return isOn.getValue(); } 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, 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 either by taking a copy of the Value, or by using Value::referTo() to make it point to
your own Value object. your own Value object.
@see getToggleState, Value @see getToggleState, Value
*/ */
Value& getToggleStateValue() noexcept { return isOn; } Value& getToggleStateValue() noexcept { return isOn; }


Loading…
Cancel
Save