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 | Public Attributes | List of all members
juce::PopupMenuCompletionCallback Struct Referencefinal
Inheritance diagram for juce::PopupMenuCompletionCallback:
juce::ModalComponentManager::Callback

Public Member Functions

void modalStateFinished (int result) override
 Called to indicate that a modal component has been dismissed.
 
- Public Member Functions inherited from juce::ModalComponentManager::Callback
virtual ~Callback ()=default
 Destructor.
 

Public Attributes

ApplicationCommandManagermanagerOfChosenCommand
 
std::unique_ptr< Componentcomponent
 

Detailed Description

Definition at line 2080 of file juce_PopupMenu.cpp.

Member Function Documentation

◆ modalStateFinished()

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

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.

Definition at line 2084 of file juce_PopupMenu.cpp.

Member Data Documentation

◆ component

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

Definition at line 2122 of file juce_PopupMenu.cpp.

◆ managerOfChosenCommand

ApplicationCommandManager* juce::PopupMenuCompletionCallback::managerOfChosenCommand

Definition at line 2121 of file juce_PopupMenu.cpp.


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