[EMAIL PROTECTED] wrote:
>     I have problems settung up a Gtk::TreeView with a column that can
>     display a Pixbuf
> 
>     The Gtk::TreeView is OK in my application but I miss the pixbufs.
> 
>     Here is the class for the Gtk::TreeModelColumns:
>     someone knows how to do?

Your code looks correct, but you need to insert a pixbuf in the image list
and not a gtk.Image.

So instead of:

  image = gtk.Image()
  image.set_from_file("D:\image3.png")
  image.show()
  [..]
  self.tree_store.append( None, ["Regions", image, None])

Just do

  pixbuf = gtk.gdk.pixbuf_new_from_file("D:\image3.png")

-- 
Johan Dahlin <[EMAIL PROTECTED]>
Async Open Source
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to