[pygtk] TreeView - Making whole row colored, Again
Kevin
kehander at yahoo.com
Thu Dec 11 01:24:29 WST 2008
Thanks for replying.
sandro wrote:
> if you have alternated rows, #fff is not the default,
> I'm almost sure you
> can set None and that will pick the default color, besides
> the fact that
> people may have different default tha #fff.
I hadn't thought of that - alternated rows doesn't seem to work under Windows. I'll try that.
> but you want to set True the cell renderer. Isn't it
> possible to set it
> explicetly:
>
> leftjust.set_property("cell-background-set",
> True)
You're completely right, of course; I figured that out a little while ago. :)
One other question: there are still white gridlines between the rows and columns with this method. There's no easy way to get rid of those and make each row a solid color all the way through, is there?
Cheers, K.
__________________________________________________________________
Instant Messaging, free SMS, sharing photos and more... Try the new Yahoo! Canada Messenger at http://ca.beta.messenger.yahoo.com/
More information about the pygtk
mailing list