JUCE
|
Receives callbacks when a modal component is dismissed. More...
Public Member Functions | |
Callback () | |
virtual | ~Callback () |
Destructor. More... | |
virtual void | modalStateFinished (int returnValue)=0 |
Called to indicate that a modal component has been dismissed. More... | |
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.
ModalComponentManager::Callback::Callback | ( | ) |
|
virtual |
Destructor.
References juce_DeclareSingleton_SingleThreaded_Minimal.
|
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.