openshot-audio  0.1.2
Public Member Functions | List of all members
juce::ModalComponentManager::Callback Class Referenceabstract

#include <juce_gui_basics.h>

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

Public Member Functions

 Callback ()
 
virtual ~Callback ()
 
virtual void modalStateFinished (int returnValue)=0
 

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

Constructor & Destructor Documentation

juce::ModalComponentManager::Callback::Callback ( )
inline
virtual juce::ModalComponentManager::Callback::~Callback ( )
inlinevirtual

Destructor.

Member Function Documentation

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, juce::ModalComponentManager::ReturnValueRetriever, and juce::CallOutBoxCallback.


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