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
Re: [gtk] - My image the Treeview column
by Andrey Demidov other posts by this author
Nov 8 2009 8:10AM messages near this date
Re: [gtk] - My image the Treeview column | [ANN] nanoc 3.0.2
Or better:

    iter = @store.append
    iter[0] = twi.message()
    iter[1] = 
Gdk::Pixbuf.new('/home/demas/settings/awn_icons/emacs.png')

    ....

    user_renderer = Gtk::CellRendererPixbuf.new
    col = Gtk::TreeViewColumn.new
    col.title = "pic"
    col.pack_start(user_renderer, false)
    col.add_attribute(user_renderer, 'pixbuf', 1)
-- 
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