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

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2012年 9月 19日 (水) 11:26:55 JST


-------------------------
REMOTE_ADDR = 184.145.80.187
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-parts
-------------------------
@@ -83,8 +83,7 @@
 Normally a cell renderer is added to a column at the time column object is initialized. You pass a renderer to the Gtk::TreeViewColumn constructor. But, cell renderers can also be packed into tree view columns similar to how you add widgets into horizontal boxes. However, for this you use Gtk::TreeViewColumn#pack_start and Gtk::TreeViewColumn#pack_end respectively. Each tree view column can contain one or more cell renderers, which are used to render the data. For example, in a file browser, the image column would be rendered with the Gtk::CellRendererPixbuf and the file name with Gtk::CellRendererText.
 
 
-
-Later (in ((<Multi-item Super Columns|tut-gtk2-treev-trees#Multi-item Super Columns>))), when we have learned about some additional features, that help us manage cell rendering, we will look at the program which implements multiple cell renderers per column. At this point I would advise you not pay too much attention to the multi-item columns. Please just remember that a simplistic view of renderers and columns as a "one to one" (1:1) proposition is not the whole story, and rest assured, that the promise to revisit this topic when the time is right will be kept.
+Later (on the next page in the section called ((<Multi-item Super Columns|tut-gtk2-treev-trees#Multi-item Super Columns>))), when we have gained the awareness about some additional features, we first have to get acquainted with and which help us manage cell rendering, we will look at the program which implements multiple cell renderers per column. At this point I would advise you not pay too much attention to the multi-item columns. Please just remember that a simplistic view of renderers and columns as a "one to one" (1:1) proposition is not the whole story, and rest assured, that the promise to revisit this topic when the time is right will be kept.
 
 The primary use of a Gtk::CellRenderer is for drawing certain graphical elements on a Gdk::Drawable. Typically, one cell renderer is used to draw many cells on the screen (the above advice not to think about multi-item columns was offered precisely because here we do not describe such "multi-columns"). Each cell renderer is responsible for rendering a column of cells, one for every row in the tree view. It begins with the first row, rendering its cells and then proceeding to the next row down until all that was requested or the entire column is completed. Or to put it differently, a cell renderer does not render just one single cell, but is responsible for rendering part or whole of a tree view column for each single row. It basically starts in the first row and renders its part of the column there. Then it proceeds to the next row and renders its part of the column there again. And so on.
 




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