ruby-****@sourc*****
ruby-****@sourc*****
2012年 8月 14日 (火) 05:10:37 JST
------------------------- REMOTE_ADDR = 184.145.90.35 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-treeview-renderer-attributes ------------------------- @@ -34,7 +34,8 @@ Another way to get your model data displayed on the screen is to set up ((<cell data functions|tut-treeview-renderer-celldatafunc>)). -Following is an example showing how to programatically (manually) handle attributes, in particular ((*text, forground*)) and ((*foreground_set.*)) Again the program utiliyes ((*set_cell_data_func*)) method which we haven't covered yet, and those of you that find tis disturbing can ignore tge rest of this page on your first reading. +Following is an example showing how to programmatically (manually) handle attributes, in particular ((*text, forground*)) and ((*foreground_set.*)) Again the program utilizes ((*set_cell_data_func*)) method which we haven't covered yet, and those of you that find this disturbing can ignore the rest of this page on your first reading. Also pay attention to the ((*text*)) attribute for the Age (3rd) column in the view, which in model is defined as integer, but is displayed in a virtual String column on the view!. + ((*Demo showing how to handle attributes:*))