I've been having this problem as well with a clist. Unfortunatly the solution given
here
wont work for me as I only want to change individual row colors rather than
all of them. Would it be possiblke to reverse individual row foreground and
background colors - this would do for me ?
many thanks;
mallum
on Fri, Apr 13, 2001 at 08:41:45PM +0800, James Henstridge wrote:
> On 13 Apr 2001, Rob Brown-Bayliss wrote:
> > Also, I would like to set the background of a GtkCtree to white, but
> > cant seem to make it work.
>
> Modify your gtkrc file so that the bg[PRELIGHT] for the style applied to
> CTrees widget.
>
> Programatically, this would be something like:
> style = ctree.get_style().copy()
> style.bg[STATE_PRELIGHT] = ctree.get_colormap().alloc('white')
> ctree.set_style(style)
>
> But this will make things look weird in some themes, so it is usually
> better to modify the theme colours.
>
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk