Peter Brooks wrote:
> Hi all,
> I'm looking to getting widgets in my program to flash, such as ardour
> does for it's record button.
> 
> Currently my thinking is to create a new thread to keep changing the
> background colour. However I'm trying to find out if there's already
> implementations of this out there.
> 
>  I've looked at ardour's but I am finding tracing how they do it
> taking quite a bit of time given their project maturity.

Wouldn't a gobject.timeout_add() be enough? That call a function every X
ms, in which you can change the color of your widget.

-- 
Yann
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to