|
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 |
Objects of this type can be used to programmatically close message boxes. More...
#include "juce_ScopedMessageBox.h"
Public Member Functions | |
| ScopedMessageBox (std::shared_ptr< detail::ScopedMessageBoxImpl >) | |
| ScopedMessageBox () | |
| Constructor. | |
| ~ScopedMessageBox () noexcept | |
| Destructor. | |
| ScopedMessageBox (ScopedMessageBox &&) noexcept | |
| Move constructor. | |
| ScopedMessageBox & | operator= (ScopedMessageBox &&) noexcept |
| Move assignment operator. | |
| void | close () |
| Closes the message box, if it is currently showing. | |
Objects of this type can be used to programmatically close message boxes.
@tags{GUI}
Definition at line 36 of file juce_ScopedMessageBox.h.
|
explicit |
Definition at line 32 of file juce_ScopedMessageBox.cpp.
|
noexcept |
Destructor.
Definition at line 35 of file juce_ScopedMessageBox.cpp.
|
noexcept |
Move constructor.
Definition at line 40 of file juce_ScopedMessageBox.cpp.
| void juce::ScopedMessageBox::close | ( | ) |
Closes the message box, if it is currently showing.
This is also called automatically during ~ScopedMessageBox. This is useful if you want to display a message corresponding to a particular view, and hide the message automatically when the view is hidden. This situation commonly arises when displaying messages in plugin editors.
Definition at line 50 of file juce_ScopedMessageBox.cpp.
|
noexcept |
Move assignment operator.
Definition at line 43 of file juce_ScopedMessageBox.cpp.