[ruby-gnome2-doc-cvs] [Ruby-GNOME2 Project Website] update - tut-gtk2-treev-trees

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2012年 9月 21日 (金) 09:44:16 JST


-------------------------
REMOTE_ADDR = 184.145.80.187
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-trees
-------------------------
@@ -34,12 +34,11 @@
    treeview.append_column(column)
  end
  
- window = Gtk::Window.new(Gtk::Window::TOPLEVEL)
+ window = Gtk::Window.new("New Grocery List (tree)")
  window.resizable = true
- window.title = "Grocery List"
  window.border_width = 10
- window.signal_connect('delete_event') { Gtk.main_quit }
- window.set_size_request(275, 300)
+ window.signal_connect('destroy') { Gtk.main_quit }
+ window.set_size_request(275, 200)
  
  class GroceryItem
    attr_accessor :product_type, :buy, :quantity, :product




ruby-gnome2-cvs メーリングリストの案内
Back to archive index