ruby-****@sourc*****
ruby-****@sourc*****
2012年 9月 17日 (月) 05:17:29 JST
------------------------- REMOTE_ADDR = 184.145.80.187 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-parts ------------------------- @@ -52,7 +52,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 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! +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 example may not make much sense on your first reading, and it is confusing to every starting up GTK+ programmer, until he/she is faced with the task of rendering different rows of a tree view in different styles and colours. We will learn how to implement this later in this tutorial. 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}}