ruby-****@sourc*****
ruby-****@sourc*****
2012年 10月 7日 (日) 03:20:21 JST
------------------------- REMOTE_ADDR = 184.145.80.187 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-pxbr ------------------------- @@ -45,8 +45,8 @@ column = Gtk::TreeViewColumn.new column.title = "Product" - # Create a tree view column with two renderers, one a pixbuf - # and one text. + # Create a tree view column with two renderers, one for the + # 'stock_id' (note: the 'pixbuf'), and one for 'text' attribute. renderer = Gtk::CellRendererPixbuf.new column.pack_start(renderer, false) column.add_attribute(renderer, 'stock_id', $pixbuf)