Class: TestWindow
Instance Method Summary collapse
-
#initialize ⇒ TestWindow
constructor
A new instance of TestWindow.
- #on_window1_destroy ⇒ Object
Constructor Details
#initialize ⇒ TestWindow
Returns a new instance of TestWindow.
4 5 6 7 8 9 10 |
# File 'lib/knj/jruby-gtk2/builder/test_builder.rb', line 4 def initialize @gui = Gtk::Builder.new @gui.add_from_file("test_builder.ui") @gui.connect_signals(){|h|method(h)} @gui["window1"].show_all end |