Class: QDA::GUI::WarningDialog
- Inherits:
-
Wx::MessageDialog
- Object
- Wx::MessageDialog
- QDA::GUI::WarningDialog
- Defined in:
- lib/weft/wxgui/dialogs.rb
Overview
A simple class for seeking warnings of risky requests.
Constant Summary collapse
- WARN_DIALOG_FLAGS =
Wx::NO_DEFAULT|Wx::OK|Wx::CANCEL|Wx::ICON_EXCLAMATION
Class Method Summary collapse
Class Method Details
.display(title, message) ⇒ Object
49 50 51 |
# File 'lib/weft/wxgui/dialogs.rb', line 49 def self.display(title, ) new(nil, , title, WARN_DIALOG_FLAGS).show_modal() end |