On Mon, Mar 2, 2009 at 12:01 AM, Walter Leibbrandt <wal...@translate.org.za> wrote: > Hi, > > Darren Hart wrote: >> >> I have a TreeView that renders rows differently depending on the state >> of the object being represented. This state is in part dependent on >> the date. Rather than calculate the state everytime I render the row, >> I set the state explicitly when certain events occur. Is there some >> kind of datechanged() signal I can register a callback for? Or do I >> just need to setup timers every minute or so to check if the date is >> different than last time? This approach seems like overkill for >> something that happens once every 24 hours, and at a time when the app >> is unlikely to be being used - but I'm trying to be thorough :-) >> >> Thanks > > I am not aware of any such signal in gtk-/gobject space. Maybe some other > service (like dbus) has something that can suite your needs? Personally, I > would go for a simple gobject.timeout_add() call.
I was considering that as well. I'll probably end up going that route. Thanks, -- Darren Hart _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/