Objects of this type can be used to programmatically close message boxes.
More...
Objects of this type can be used to programmatically close message boxes.
- See also
- NativeMessageBox::showScopedAsync(), AlertWindow::showScopedAsync()
◆ ScopedMessageBox() [1/3]
ScopedMessageBox::ScopedMessageBox |
( |
std::shared_ptr< detail::ScopedMessageBoxImpl > | | ) |
|
|
explicit |
◆ ScopedMessageBox() [2/3]
ScopedMessageBox::ScopedMessageBox |
( |
| ) |
|
◆ ~ScopedMessageBox()
ScopedMessageBox::~ScopedMessageBox |
( |
| ) |
|
|
noexcept |
◆ ScopedMessageBox() [3/3]
◆ operator=()
Move assignment operator.
◆ close()
void 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.