A class to receive callbacks when a MenuBarModel changes. More...
#include <juce_MenuBarModel.h>
Public Member Functions | |
virtual | ~Listener ()=default |
Destructor. | |
virtual void | menuBarItemsChanged (MenuBarModel *menuBarModel)=0 |
This callback is made when items are changed in the menu bar model. | |
virtual void | menuCommandInvoked (MenuBarModel *menuBarModel, const ApplicationCommandTarget::InvocationInfo &info)=0 |
This callback is made when an application command is invoked that is represented by one of the items in the menu bar model. | |
virtual void | menuBarActivated (MenuBarModel *menuBarModel, bool isActive) |
Called when the menu bar is first activated or when the user finished interacting with the menu bar. | |
A class to receive callbacks when a MenuBarModel changes.
|
virtualdefault |
Destructor.
|
pure virtual |
This callback is made when items are changed in the menu bar model.
Implemented in MenuBarComponent.
|
pure virtual |
This callback is made when an application command is invoked that is represented by one of the items in the menu bar model.
Implemented in MenuBarComponent.
|
virtual |
Called when the menu bar is first activated or when the user finished interacting with the menu bar.