Re: [gtkmm] Setting the background color of a specific cell in a Gtk::Treeview



On Fri, 2003-01-10 at 03:31, Liza Klerck wrote:
> I'm sorry, some confusion occured in the message. The code example I included 
> was a response to someone asking how to set the color of an entire column.
> 
> My question still remains, if I have a TreeViewColumn variable and a 
> TreeModelRow variable how do I use those to get at the cell's cellrender ?
> The cell being represented by the intersection of the TreeViewColumn and the 
> TreeModelRow. 

You do not usually access the data via a CellRenderer directly - data
should be set in the model. You just use an appropriate, or
appropriately setup, CellRenderer. If you give more details then we
might be able to help more.

-- 
Murray Cumming
murray usa net
www.murrayc.com




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