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

アーカイブの一覧に戻る

ruby-****@sourc***** ruby-****@sourc*****
2012年 10月 9日 (火) 06:44:12 JST


-------------------------
REMOTE_ADDR = 184.145.82.7
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-pxbr
-------------------------
@@ -8,8 +8,7 @@
 
 Adding images in the form of Gdk::Pixbuf object as a column in the Gtk::TreeView is a very useful feature provided by Gtk::CellRendererPixbuf. However, pixbufs are not the only supported type of image pixbuf renderer can display. In addition to the :pixbuf property you can also use the :stock_id property to display stock icons rather than images from image files.
 
-
-You have already learned almost everything necessary to add Gdk::Pixbuf images to the tree view in previous sections, particularly in the section [8.2.4] under the title '((<Multi-item Super Columns|tut-gtk2-treev-trees#Multi-item Super Columns>))', which provides a more detailed explanations than what is provided here, because in the section [8.4.2], mentioned above, we are also concerned about the issues related to the relationships between the cell renderers and the tree view columns, particularly about the ordering of multiple items in a tree view column. Here, on the other hand, we are concentrated only on the Gtk::CellRendererPixbuf itself. Also the example here shows only half of the story because it deals only with the :stock_id render attribute and not with the :pixbuf attribute. For the whole picture you should really compare this program example here with the 'liststore-col-w-double-renderers-pixbufs.rb' example in the section [8.2.4] mentioned earlier. Not to obf
 uscate the issues related to pixbuf, we also did not include the code that deals with the  '((<Data Dependencies Between Cells In Different Columns And Rows In Tree View|tut-gtk2-treev-crs#Data Dependencies Between Cells In Different Columns And Rows In Tree View>))', which we discussed in just mentioned title in segment [8.7.1.2].
+You have already learned almost everything necessary to add Gdk::Pixbuf images to the tree view in previous sections, particularly in the section [8.2.4] under the title '((<Multi-item Super Columns|tut-gtk2-treev-trees#Multi-item Super Columns>))', which provides a more detailed explanations than what is provided here, because in the section [8.4.2], mentioned above, we are also concerned about the issues related to the relationships between the cell renderers and the tree view columns, particularly about the ordering of multiple items in a tree view column. Here, on the other hand, we are concentrated only on the Gtk::CellRendererPixbuf itself. Also the example here shows only half of the story because it deals only with the :stock_id render attribute and not with the :pixbuf attribute. For the whole picture you should really compare this program example here with the 'liststore-col-w-double-renderers-pixbufs.rb' example in the section [8.2.4] mentioned earlier. Not to obf
 uscate the issues related to pixbuf, we also did not include the code that deals with the  '((<Data Dependencies Between Cells In Different Columns And Rows In Tree View|tut-gtk2-treev-crs#Data Dependencies Between Cells In Different Columns And Rows In Tree View>))', which we extensively discussed in just mentioned title in segment [8.7.1.2].
 
 The listing here serves more to remind you how this renderer is most often used, and to inspire you to look deeper into the relationships between the pixbuf renderers and the tree view columns. This relationship is partially hidden behind the fact that there is no need to create a separate column header for pixbufs on the tree view side, and this listing shows you just that, namely, that you can include multiple renderers in one column. In the model, however, note that we added another column for the image, but not for the pixbuf, since in this program we only use the stock items and not true images, and as you know, stock item is just a string description for the image. It is important to note this last point, to understand the difference between the stock items and true images in the pixbuf renderers. If you have trouble understanding this 'pixbuf-rdr.rb' example, or the difference between the stock items and images, by all means revisit the section [8.2.4] ((<(Multi-item 
 Super Columns)|tut-gtk2-treev-trees#Multi-item Super Columns>)), where in addition to the renderer/column relationships both of these (pixbuf and stock) image items are included in the example program. 
 




ruby-gnome2-cvs メーリングリストの案内
アーカイブの一覧に戻る