JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
juce::ModalComponentManager::Callback Class Referenceabstract

Receives callbacks when a modal component is dismissed. More...

#include "juce_ModalComponentManager.h"

Inheritance diagram for juce::ModalComponentManager::Callback:
juce::CallOutBoxCallback juce::PopupMenuCompletionCallback

Public Member Functions

virtual ~Callback ()=default
 Destructor.
 
virtual void modalStateFinished (int returnValue)=0
 Called to indicate that a modal component has been dismissed.
 

Detailed Description

Receives callbacks when a modal component is dismissed.

You can register a callback using Component::enterModalState() or ModalComponentManager::attachCallback().

For some quick ways of creating callback objects, see the ModalCallbackFunction class.

See also
ModalCallbackFunction

Definition at line 55 of file juce_ModalComponentManager.h.

Member Function Documentation

◆ modalStateFinished()

virtual void juce::ModalComponentManager::Callback::modalStateFinished ( int  returnValue)
pure virtual

Called to indicate that a modal component has been dismissed.

You can register a callback using Component::enterModalState() or ModalComponentManager::attachCallback().

The returnValue parameter is the value that was passed to Component::exitModalState() when the component was dismissed.

The callback object will be deleted shortly after this method is called.

Implemented in juce::PopupMenuCompletionCallback, and juce::CallOutBoxCallback.


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