[gtk] - My image the Treeview column
by Andrey Demidov other posts by this author
Nov 7 2009 8:23AM messages near this date
Re: Copy current state of gem on server to my local machine
|
Re: [gtk] - My image the Treeview column
Hi all,
I need to display the images in the one of columns in the Treeview.
I have found this example
(http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-treev-pxbr).
But in this example are used the standard gnome icons:
> > parent[$pixbuf] = Gtk::Stock::DIALOG_INFO
I have tried to change code to:
pixbuf = Gdk::Pixbuf.new('/home/demas/settings/awn_icons/emacs.png')
parent[$pxbuf] = pixbuf
but it doesn't work.
How can I display images in the threeview column?
--
Posted via http://www.ruby-forum.com/.
Thread:
Andrey Demidov
Andrey Demidov
Andrey Demidov
|