Class: GtkApp::Dialog::Error

Inherits:
Gtk::MessageDialog
  • Object
show all
Includes:
Support
Defined in:
lib/gtk_app/dialog/error.rb

Instance Method Summary collapse

Methods included from Support

included

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