[pygtk] TreeViewColumn background color

awalter1 alain.walter at thalesgroup.com
Wed Oct 24 14:32:16 WST 2007


Hi,

First of all, you have to use background=1 instead of foreground=1.
I 'm using the same call to gtk.TreeViewColumn and I have no white space
around my cells !
Regards


Seltzer-2 wrote:
> 
> Hello,
> 
> I was wondering if their was a way to set the whole cell background to be
> a
> single color.
> Right now I'm doing it with
> 
> gtk.TreeViewColumn('Column Title', cell_renderer, text=0, foreground=1)
> 
> 
> Which works fine... although it sets the background with some white space
> around it.
> I would like it to look like when a cell is selected, and the whole thing
> is
> Blue, in
> other words without any white space around the background.
> 
> any ideas?
> 
> thanks,
> felix
> 
> _______________________________________________
> pygtk mailing list   pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
> 
> 

-- 
View this message in context: http://www.nabble.com/TreeViewColumn-background-color-tf4678856.html#a13379719
Sent from the Gtk+ - Python mailing list archive at Nabble.com.



More information about the pygtk mailing list