require 'gtk'window = Gtk::Window::newbutton = Gtk::Button::new("Hello, World!")button.signal_connect(Gtk::Button::SIGNAL_CLICKED) { puts "Goodbye, World!" exit}window.add(button)button.showwindow.showGtk::main