Ardour  9.0-pre0-582-g084a23a80d
LuaDialog::Message Class Reference

#include <luadialog.h>

Public Types

enum  MessageType { Info , Warning , Question , Error }
 
enum  ButtonType {
  OK , Close , Cancel , Yes_No ,
  OK_Cancel
}
 

Public Member Functions

 Message (std::string const &, std::string const &, Message::MessageType, Message::ButtonType)
 
int run ()
 

Private Member Functions

 Message (Message const &)
 

Static Private Member Functions

static Gtk::ButtonsType to_gtk_bt (ButtonType bt)
 
static Gtk::MessageType to_gtk_mt (MessageType mt)
 

Private Attributes

ArdourMessageDialog _message_dialog
 

Detailed Description

Definition at line 34 of file luadialog.h.

Member Enumeration Documentation

◆ ButtonType

Enumerator
OK 
Close 
Cancel 
Yes_No 
OK_Cancel 

Definition at line 41 of file luadialog.h.

◆ MessageType

Enumerator
Info 
Warning 
Question 
Error 

Definition at line 37 of file luadialog.h.

Constructor & Destructor Documentation

◆ Message() [1/2]

LuaDialog::Message::Message ( std::string const &  ,
std::string const &  ,
Message::MessageType  ,
Message::ButtonType   
)

◆ Message() [2/2]

LuaDialog::Message::Message ( Message const &  )
private

Member Function Documentation

◆ run()

int LuaDialog::Message::run ( )

◆ to_gtk_bt()

static Gtk::ButtonsType LuaDialog::Message::to_gtk_bt ( ButtonType  bt)
staticprivate

◆ to_gtk_mt()

static Gtk::MessageType LuaDialog::Message::to_gtk_mt ( MessageType  mt)
staticprivate

Member Data Documentation

◆ _message_dialog

ArdourMessageDialog LuaDialog::Message::_message_dialog
private

Definition at line 55 of file luadialog.h.


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