Re: Background row color for a Gtk::TreeView



On Mon, 2009-11-30 at 21:53 +0100, Glus Xof wrote: 
> The only problem I have now is to know how to change the text color of
> these cells depending on the background color.
> 
> [Note: When I implemented the slot method, I used
> Gtk::CellRenderer::property_cell_background_gdk() instead of
> Gtk::CellRenderer::property_cell_background()]
> 
> Probably, there is an specific property defined... where is it ?

Gtk::CellRendererText::property_foreground().

-- 
José





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