Class: Gtk::MessageDialog

Inherits:
Object
  • Object
show all
Defined in:
lib/gir_ffi-gtk/message_dialog.rb

Overview

Overrides for GtkMessageDialog

Instance Method Summary collapse

Constructor Details

#initialize(parent, flags, type, buttons, message) ⇒ MessageDialog

Returns a new instance of MessageDialog.



20
21
22
23
24
25
# File 'lib/gir_ffi-gtk/message_dialog.rb', line 20

def initialize(parent, flags, type, buttons, message)
  ptr = Gtk::Lib.gtk_message_dialog_new(parent, flags, type, buttons,
                                        "%s",
                                        :string, message)
  store_pointer(ptr)
end

Instance Method Details

#old_initializeObject



18
# File 'lib/gir_ffi-gtk/message_dialog.rb', line 18

alias old_initialize initialize