Class: GtkApp::Dialog::Warn

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

Instance Method Summary collapse

Methods included from Support

included

Constructor Details

#initialize(parent) ⇒ Warn

Returns a new instance of Warn.



5
6
7
8
# File 'lib/gtk_app/dialog/warn.rb', line 5

def initialize(parent)
  super(parent, Gtk::Dialog::MODAL | Gtk::Dialog::DESTROY_WITH_PARENT,
    Gtk::MessageDialog::WARNING, Gtk::MessageDialog::BUTTONS_OK_CANCEL)
end