Re: TreeView with image in cells



On Sat, 2010-07-10 at 21:00 +0300, Damianos Mylonakis wrote:
> Hello,
> 
> I am trying to create a TreeView but each cell, not only has the regular 
> text, but an image also. Like Nautilus when you select "List View" there 
> is an image of a folder for folders, text for text files etc. How is 
> that possible?

Just pack an extra cellrenderer into the view column:
http://library.gnome.org/devel/gtkmm-tutorial/stable/sec-treeview.html.en#treeview-multiple-model-columns-per-view-column

-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]