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

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2012年 10月 7日 (日) 02:33:49 JST


-------------------------
REMOTE_ADDR = 184.145.80.187
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-pxbr
-------------------------
@@ -92,10 +92,13 @@
  # integer, string and additional String for the Gdk::Pixbuf.
  store = Gtk::TreeStore.new(TrueClass, Integer, String, String)
 
- # NOTE: it would be more appropriate, to use Gdk::Pixbuf instead of
- #       String, for the image item here:
+ # NOTE: If we used image files we would need to convert them to
+ #       Gdk::Pixbuf objects and it would be more appropriate, 
+ #       to use Gdk::Pixbuf instead of String, for the image item 
+ #       here (see [8.2.4] for the correct handling of pixbufs).
+ #       IMPORTANT - the following would not work here:
+ #
  # store = Gtk::TreeStore.new(TrueClass, Integer, String, Gdk::Pixbuf)
-
  
  # Avoid creation of iterators on every iterration, since they
  # need to provide state information for all iterations. Hence:




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