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

Zurück zum Archiv-Index

ruby-****@sourc***** ruby-****@sourc*****
2012年 8月 27日 (月) 11:59:20 JST


-------------------------
REMOTE_ADDR = 70.49.49.99
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-trees
-------------------------
@@ -334,8 +334,7 @@
 
 
 {{image_right("modelNview_demo.png")}}
-
-As previously announced, in the following example program entire row is manipulated with their respective ((*set_cell_data_funcs'*)) blocks. That is all columns (i.e. cell renderers) trigger execution of their pertinent((*set_cell_data_func*))functions and code blocks. What is also interesting is how in some of these blocks multiple data in the same row from columns in other renderers are consulted. If you understand this program, you should also understand that model columns do not map to view columns.
+Note that in the following "Model/View Column Demo" example in the model there are four columns whereas in tree view there are just two. 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*))functions and code blocks. What is also interesting is how in some of these blocks multiple data in the same row from columns in other renderers are consulted. If you understand this program, you should also understand that model columns do not map to view columns.
 
 
 




ruby-gnome2-cvs メーリングリストの案内
Zurück zum Archiv-Index