ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> ruby-talk
ruby-talk
[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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved