pyatcron-devel-list
[Top][All Lists]
Advanced

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

RE: [Pyatcron-devel-list] Task list in the main window


From: Julien Olivier
Subject: RE: [Pyatcron-devel-list] Task list in the main window
Date: Tue, 11 Nov 2003 20:27:27 +0000

On Tue, 2003-11-11 at 19:57, Childers, Matthew wrote:
> > I attached a mix of Matthew's assistant and of my main window. I also
> > fixed a few things. Please use this code if you want to make changes.
> > 
> 
> Would someone take a look at this code?  I am trying to get the text in
> the box to grey out rather than strikethrough.  After looking through
> the header files for the cellrenderertext object I have found it looks
> like you can set the foreground and background colors as PangoColor
> objects.  The only changes are in the mainwin.py file inside the
> updateTaskList function and I imported pango at the top.  I keep getting
> a TypeError: value is of the wrong type for this column, when I run it.
> If this is way off let me know, but I think I may be close, I have just
> run out of resources and ideas.
> 
> Thanks,
> Matt
> 
> 


In fact you have to specify the color as a string, like "#FF0000" :)
Weird, isn't it ?

My only concern would be that hardcoding the "grey-out" color might not
be a good idea. Isn't there a way to retrieve the exact color from the
GTK theme or something ?
> 
> ______________________________________________________________________
> _______________________________________________
> Pyatcron-devel-list mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/pyatcron-devel-list
-- 
Julien Olivier <address@hidden>

Attachment: mainwin.py
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]