[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:18:02 JST


-------------------------
REMOTE_ADDR = 184.145.80.187
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-parts
-------------------------
@@ -80,7 +80,8 @@
 
 
 
-Cell renderers are 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.
+Normally 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.




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