ruby-****@sourc*****
ruby-****@sourc*****
2012年 10月 11日 (木) 08:08:06 JST
------------------------- REMOTE_ADDR = 184.145.82.7 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-cbbr ------------------------- @@ -14,7 +14,7 @@ {{image_right("treev-combo-00.png")}} -Following combo box renderer example program is a simple 'stripped down' implementation of our 'Grocery list' example. Note, that we are dealing here with two models. The first is model used to display rows of the tree view, and the other is the model used for the combo box items. +Following combo box renderer example program is a simple 'stripped down' implementation of our 'Grocery List' example. Note, that we are dealing here with two models. The first is model used to display rows of the tree view, and the other is the model used for the combo box items. Like the spin button renderer which just like combo box renderer is also derived from the Gtk::CellRendererText, for both of them the((*'editable'*))property must be set to((*true*))to enable it. Note that in this example the 'Count' column is controlled whether or not a cell or (renderer) should be editable in the cell data function.