openshot-audio  0.1.2
Public Member Functions | Public Attributes | List of all members
PopupMenuCompletionCallback Class Reference
Inheritance diagram for PopupMenuCompletionCallback:
ModalComponentManager::Callback

Public Member Functions

 PopupMenuCompletionCallback ()
 
void modalStateFinished (int result)
 
- Public Member Functions inherited from ModalComponentManager::Callback
 Callback ()
 
virtual ~Callback ()
 

Public Attributes

ApplicationCommandManagermanagerOfChosenCommand
 
ScopedPointer< Componentcomponent
 
WeakReference< ComponentprevFocused
 
WeakReference< ComponentprevTopLevel
 

Constructor & Destructor Documentation

PopupMenuCompletionCallback::PopupMenuCompletionCallback ( )
inline

Member Function Documentation

void PopupMenuCompletionCallback::modalStateFinished ( int  returnValue)
inlinevirtual

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.

Implements ModalComponentManager::Callback.

Member Data Documentation

ScopedPointer<Component> PopupMenuCompletionCallback::component
ApplicationCommandManager* PopupMenuCompletionCallback::managerOfChosenCommand
WeakReference<Component> PopupMenuCompletionCallback::prevFocused
WeakReference<Component> PopupMenuCompletionCallback::prevTopLevel

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