ruby-****@sourc*****
ruby-****@sourc*****
2012年 8月 15日 (水) 03:48:00 JST
------------------------- REMOTE_ADDR = 184.145.90.35 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-parts ------------------------- @@ -49,7 +49,7 @@ {{image_left("treev-tabs-01.png")}} -For example, a tree column may display a text string that has foreground colour defined by a model column that is not visible to the user as data but simply is displayed as a colour of the text. Each row within a model contains one piece of data corresponding to each model column. In the figure here the left table contains a text string and a Gdk-colour value. These two values in the model are used to display the corresponding colour in the ((*tree*)) column. This may not make much sense on first reading, and it is confusing to many starting up GTK+ programmers, until they are faced with the task of rendering different rows of a tree view in different styles and colours. But for now you should just remember that columns in a model are not the same and do not necessarily map to columns in its corresponding view! +For example, a tree column may display a text string that has foreground colour defined by a model column that is not visible to the user as data but simply is displayed as a colour of the text. Each row within a model contains one piece of data corresponding to each model column. In the figure here the left table contains a text string and a Gdk-colour value. These two values in the model are used to display the corresponding colour in the ((*tree*)) column. This may not make much sense on your first reading, and it is confusing to many starting up GTK+ programmers, until they are faced with the task of rendering different rows of a tree view in different styles and colours. But for now you should just remember that columns in a model are not the same and do not necessarily map to columns in its corresponding view! {{br}}