LMMS
Loading...
Searching...
No Matches
juce::PopupMenuCompletionCallback Struct Reference
Inheritance diagram for juce::PopupMenuCompletionCallback:
juce::ModalComponentManager::Callback

Public Member Functions

 PopupMenuCompletionCallback ()=default
void modalStateFinished (int result) override
Public Member Functions inherited from juce::ModalComponentManager::Callback
 Callback ()=default
virtual ~Callback ()=default

Public Attributes

ApplicationCommandManagermanagerOfChosenCommand = nullptr
std::unique_ptr< Componentcomponent

Constructor & Destructor Documentation

◆ PopupMenuCompletionCallback()

juce::PopupMenuCompletionCallback::PopupMenuCompletionCallback ( )
default

Member Function Documentation

◆ modalStateFinished()

void juce::PopupMenuCompletionCallback::modalStateFinished ( int returnValue)
inlineoverridevirtual

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 juce::ModalComponentManager::Callback.

Member Data Documentation

◆ component

std::unique_ptr<Component> juce::PopupMenuCompletionCallback::component

◆ managerOfChosenCommand

ApplicationCommandManager* juce::PopupMenuCompletionCallback::managerOfChosenCommand = nullptr

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