Class: QDA::GUI::ConfirmDialog

Inherits:
Wx::MessageDialog
  • Object
show all
Defined in:
lib/weft/wxgui/dialogs.rb

Direct Known Subclasses

SuppressibleConfirmDialog

Constant Summary collapse

CONFIRM_DIALOG_FLAGS =
Wx::NO_DEFAULT|Wx::YES|Wx::NO|Wx::ICON_EXCLAMATION

Class Method Summary collapse

Class Method Details

.display(title, message) ⇒ Object



56
57
58
# File 'lib/weft/wxgui/dialogs.rb', line 56

def self.display(title, message)
  new(nil, message, title, CONFIRM_DIALOG_FLAGS).show_modal()
end