ruby-****@sourc*****
ruby-****@sourc*****
2009年 2月 17日 (火) 00:06:14 JST
------------------------- REMOTE_ADDR = 74.15.84.244 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-addrnhs ------------------------- @@ -91,7 +91,9 @@ list.each_with_index do |e, i| combobox.append_text(list[i].product) if (e.product_type == $p_category) end - combobox.active = 0 + ### Usually you would set the default selection, but for the + ### sake of learning we leave it unset: + ### combobox.active = 0 table = Gtk::Table.new(4, 2, false) table.row_spacings = 5