JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::ComboBox::Listener Class Referenceabstract

A class for receiving events from a ComboBox. More...

#include <juce_ComboBox.h>

Inheritance diagram for juce::ComboBox::Listener:

Public Member Functions

virtual ~Listener ()=default
 Destructor. More...
 
virtual void comboBoxChanged (ComboBox *comboBoxThatHasChanged)=0
 Called when a ComboBox has its selected item changed. More...
 

Detailed Description

A class for receiving events from a ComboBox.

You can register a ComboBox::Listener with a ComboBox using the ComboBox::addListener() method, and it will be called when the selected item in the box changes.

See also
ComboBox::addListener, ComboBox::removeListener

Constructor & Destructor Documentation

◆ ~Listener()

virtual juce::ComboBox::Listener::~Listener ( )
virtualdefault

Destructor.

Member Function Documentation

◆ comboBoxChanged()

virtual void juce::ComboBox::Listener::comboBoxChanged ( ComboBox comboBoxThatHasChanged)
pure virtual

Called when a ComboBox has its selected item changed.

Implemented in juce::ComboBoxParameterAttachment.


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