ruby-****@sourc*****
ruby-****@sourc*****
2012年 8月 21日 (火) 11:40:12 JST
------------------------- REMOTE_ADDR = 70.49.49.99 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-trees ------------------------- @@ -255,7 +255,7 @@ {{image_right("liststore-cdFunc.png")}} -Following is a simple example program demonstrating the use of ((*set_cell_data_func*)) function. Note that this function is associated with a particular cell renderer which is mapped to a tree view column via the column, associated with the renderer by Gtk::TreeViewColumn.new, and subsequently by the Gtk::TreeView#append_column(column) statement; so all ((*render, column,*)) which is associated with the ((*set_cell_data_func*)) function, and the ((*tree view*)) are all connected. The block associated with the ((*set_cell_data_func*)) function is executed for every row for that particular view column. +Following is a simple example program demonstrating the use of ((*set_cell_data_func*)) function. Note that this function is associated with a particular cell renderer which is mapped to a tree view column via the column, associated with the renderer by Gtk::TreeViewColumn.new, and subsequently by the Gtk::TreeView#append_column(column) statement; so all ((*render, column,*)) which is associated with the ((*set_cell_data_func*)) function, and the ((*tree view*)) are all connected. The block associated with the cell data function is executed for every row for that particular view column, checking if "Buy" column contains TRUE. If it does, the background of the column is set to red. ((*liststore-cdFunc*))