Class: GtkApp::Dialog::Info

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

Instance Method Summary collapse

Methods included from Support

included

Constructor Details

#initialize(parent) ⇒ Info

Returns a new instance of Info.



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

def initialize(parent)
  super(parent, Gtk::Dialog::MODAL | Gtk::Dialog::DESTROY_WITH_PARENT,
    Gtk::MessageDialog::INFO, Gtk::MessageDialog::BUTTONS_OK)
end