[ruby-gnome2-doc-cvs] [Ruby-GNOME2 Project Website] update - tut-gtk2-treev-trees

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2012年 9月 24日 (月) 04:03:38 JST


-------------------------
REMOTE_ADDR = 184.145.80.187
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-trees
-------------------------
@@ -395,7 +395,7 @@
  treeview = Gtk::TreeView.new(store = Gtk::ListStore.new(Integer, String, String, String))
 
 
-Here we have the situation where along with user data to be displayed in the view there also are stored system parameters, namely, the foreground and background colours for the two view columns. As previously announced, in this  example program entire row is manipulated with their respective ((*set_cell_data_funcs'*)) blocks.  That is, all columns for all the cell renderers in this tree view (which contains only two columns/renderers) trigger execution of their pertinent ((*set_cell_data_func*)) methods and code blocks. What is also interesting is how in some of these blocks multiple data in the same row from different columns are consulted. If you understand this program, you should also understand that model columns do not map to view columns.
+Here we have the situation where along with user data to be displayed in the view there also are stored system parameters, namely, the foreground and background colours for the two view columns. As previously announced, in this  example program entire row is manipulated with their respective ((*set_cell_data_funcs'*)) blocks.  That is, all columns for all the cell renderers in this tree view (which contains only two columns/renderers) trigger execution of their pertinent ((*set_cell_data_func*)) methods and code blocks. What is also interesting is how in some of these blocks multiple data (i.e. multiple renderer's parameters) in the same row from different model columns are consulted. If you understand this program, you should also understand that model columns do not map to view columns.
 
 
 




ruby-gnome2-cvs メーリングリストの案内
Back to archive index