Btk
Btk::MessageBox Class Reference

Public Types

enum  Flag : int { Info, Warn, Error }
 
typedef Signal< void()> SignalAsync
 

Public Member Functions

 MessageBox (std::string_view title={}, std::string_view txt={}, Flag flags=Info)
 Construct a new Message Box object. More...
 
 MessageBox (const MessageBox &)
 
SignalAsyncsig_async ()
 
void set_title (std::string_view title)
 
void set_message (std::string_view message)
 
void set_flag (Flag flag)
 
bool show (bool focus_async=false)
 

Constructor & Destructor Documentation

◆ MessageBox()

Btk::MessageBox::MessageBox ( std::string_view  title = {},
std::string_view  txt = {},
Flag  flags = Info 
)

Construct a new Message Box object.

Parameters
titleThe MessageBox title
txtThe messageBox message
flagsThe messagebox flag

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