ruby-****@sourc*****
ruby-****@sourc*****
2012年 9月 20日 (木) 05:15:53 JST
------------------------- REMOTE_ADDR = 184.145.80.187 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-parts ------------------------- @@ -282,7 +282,8 @@ column.set_attributes(renderer, :text => BUY_IT) treeview.append_column(column) -Note, that in the second code segment you could use either of Gtk::TreeViewColumn#set_attributes or Gtk::TreeViewColumn#add_attribute instance methods to associate a the cell renderer with model column number. + +Note, that in the second code segment you could use either of Gtk::TreeViewColumn#set_attributes or Gtk::TreeViewColumn#add_attribute instance methods to associate a the cell renderer with model column number. I should warn you that there are times when you will need to use the longer more verbose way of creating tree view columns. We will talk about this after we learn the basics.