Class: GtkApp::Dialog::Error
- Inherits:
-
Gtk::MessageDialog
- Object
- Gtk::MessageDialog
- GtkApp::Dialog::Error
- Includes:
- Support
- Defined in:
- lib/gtk_app/dialog/error.rb
Instance Method Summary collapse
-
#initialize(parent) ⇒ Error
constructor
A new instance of Error.
Methods included from Support
Constructor Details
#initialize(parent) ⇒ Error
Returns a new instance of Error.
5 6 7 8 |
# File 'lib/gtk_app/dialog/error.rb', line 5 def initialize(parent) super(parent, Gtk::Dialog::MODAL | Gtk::Dialog::DESTROY_WITH_PARENT, Gtk::MessageDialog::ERROR, Gtk::MessageDialog::BUTTONS_CLOSE) end |