ruby-****@sourc*****
ruby-****@sourc*****
2012年 8月 14日 (火) 06:35:10 JST
------------------------- REMOTE_ADDR = 184.145.90.35 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-treeview-renderer-celldatafunc ------------------------- @@ -22,7 +22,8 @@ end end -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 to the renderer by Gtk::TreeViewColumn.new, and subsequently by the Gtk::TreeView#append_column(column) statement; so all ((*render, column*)) and ((*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 to 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. + #!/usr/bin/env ruby require 'gtk2'