JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::Button::Listener Class Referenceabstract

Used to receive callbacks when a button is clicked. More...

#include <juce_Button.h>

Inheritance diagram for juce::Button::Listener:

Public Member Functions

virtual ~Listener ()
 Destructor. More...
 
virtual void buttonClicked (Button *)=0
 Called when the button is clicked. More...
 
virtual void buttonStateChanged (Button *)
 Called when the button's state changes. More...
 

Detailed Description

Used to receive callbacks when a button is clicked.

See also
Button::addListener, Button::removeListener

Constructor & Destructor Documentation

◆ ~Listener()

virtual juce::Button::Listener::~Listener ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ buttonClicked()

virtual void juce::Button::Listener::buttonClicked ( Button )
pure virtual

◆ buttonStateChanged()

virtual void juce::Button::Listener::buttonStateChanged ( Button )
inlinevirtual

Called when the button's state changes.


The documentation for this class was generated from the following file: