Gin
Loading...
Searching...
No Matches
PluginAlertWindow Class Reference

An alert window that doesn't add itself to the desktop. More...

#include <gin_pluginalertwindow.h>

Inherits juce::AlertWindow.

Public Member Functions

 PluginAlertWindow (const juce::String &title, const juce::String &message, AlertIconType iconType, Component *associatedComponent=nullptr)
int runModalLoop (juce::Component &parent)
void runAsync (juce::Component &parent, std::function< void(int)> callback)

Detailed Description

An alert window that doesn't add itself to the desktop.

Safer for use in plugins.

Constructor & Destructor Documentation

◆ PluginAlertWindow()

PluginAlertWindow::PluginAlertWindow ( const juce::String & title,
const juce::String & message,
AlertIconType iconType,
Component * associatedComponent = nullptr )

Member Function Documentation

◆ runModalLoop()

int PluginAlertWindow::runModalLoop ( juce::Component & parent)

◆ runAsync()

void PluginAlertWindow::runAsync ( juce::Component & parent,
std::function< void(int)> callback )

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