ruby-****@sourc*****
ruby-****@sourc*****
2009年 2月 13日 (金) 11:17:44 JST
------------------------- REMOTE_ADDR = 74.15.84.244 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-trees ------------------------- @@ -28,16 +28,13 @@ # Create a new GtkCellRendererText, add it to the tree # view column and append the column to the tree view. renderer = Gtk::CellRendererText.new - column = Gtk::TreeViewColumn.new( - "Buy", renderer, "text" => $buy_it) + column = Gtk::TreeViewColumn.new("Buy", renderer, "text" => $buy_it) treeview.append_column(column) renderer = Gtk::CellRendererText.new - column = Gtk::TreeViewColumn.new( - "Count", renderer, "text" => $quantity) + column = Gtk::TreeViewColumn.new("Count", renderer, "text" => $quantity) treeview.append_column(column) renderer = Gtk::CellRendererText.new - column = Gtk::TreeViewColumn.new( - "Product", renderer, "text" => $product) + column = Gtk::TreeViewColumn.new("Product", renderer, "text" => $product) treeview.append_column(column) end