Message box dialog. More...
#include <dialogs.h>
Public Member Functions | |
| virtual void | init (const std::string &title, const std::string &message, message_type::message_type type=message_type::error, message_buttons::message_buttons buttons=message_buttons::ok)=0 |
| Initialize the dialog. | |
| virtual message_response::message_response | execute ()=0 |
| Execute the dialog. | |
Message box dialog.
Prompts the user with system message box and waits for user response.
You can create the message_box instance via widget_factory class.
| virtual message_response::message_response dbp::message_box::execute | ( | ) | [pure virtual] |
Execute the dialog.
| virtual void dbp::message_box::init | ( | const std::string & | title, | |
| const std::string & | message, | |||
| message_type::message_type | type = message_type::error, |
|||
| message_buttons::message_buttons | buttons = message_buttons::ok | |||
| ) | [pure virtual] |
Initialize the dialog.
Initializes the dialog with the information passed.
| title | the dialog caption. | |
| message | the dialog message text. | |
| type | the message type. | |
| buttons | dialog buttons. |