Class: QDA::GUI::InformationDialog

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

Overview

A simple class for displaying helpful info.

Constant Summary collapse

INFO_DIALOG_FLAGS =
Wx::OK|Wx::ICON_INFORMATION

Class Method Summary collapse

Class Method Details

.display(title, message) ⇒ Object



34
35
36
# File 'lib/weft/wxgui/dialogs.rb', line 34

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