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

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2009年 2月 18日 (水) 05:06:47 JST


-------------------------
REMOTE_ADDR = 74.15.84.244
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-pxbr
-------------------------
@@ -1,6 +1,8 @@
 = The Tree View Widget
 {{link "tut-gtk2-treev-crs", "tut-gtk2-treev", "tut-gtk", "tut-gtk2-treev-spbttr"}}
 
+= Sorry this page is still under construction
+
 == Pixbuf Renderers
 
 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.
@@ -9,8 +11,9 @@
 
 
 {{image_left("treev-trees-ok.png")}}
-However, currently  (as of Ruby 1.8.6 and Ruby-GNOME2 rel.: 2-0.17.0-rc1) there is a problem with Gtk::CellRendererPixbuf
-{{image_right("dialog-warning.png")}}, and it looks as a combined C GTK+ as well as Ruby GTK+ problem. I have compiled the C example from Andrew Klause's book, and it exhibits exactly the same problems as my Ruby translation. You may check it out by clicking on ((<pixbuf-rdr.c|tut-gtk2-treev-treev-pxbr-cgtk-01>))
+As you can see there are no pixbuf objects on this image on the left. This is because of a problem in GTK+. Namely, currently  (as of Ruby 1.8.6 and Ruby-GNOME2 rel.: 2-0.17.0-rc1) {{image_right("dialog-warning.png")}}two important methods: Gtk::CellRendererPixbuf#set_attributes and Gtk::CellRendererPixbuf#set_attributes, do not work as expected. It looks that this is a combined C GTK+ as well as Ruby GTK+ problem. I have compiled the C example from Andrew Klause's book, and it exhibits exactly the same problems as my Ruby translation. You may check it out by clicking on ((<pixbuf-rdr.c|tut-gtk2-treev-treev-pxbr-cgtk-01>))
 
 {{br}}
 
@@ -139,7 +140,8 @@
  window.show_all
  Gtk.main
 
-For your convenience I have included the two offending methods:
+For your convenience I have included the API documentation for the two offending methods:
 
  #--- Gtk::TreeViewColumn#add_attribute(cell_renderer, attribute, column)
  #




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