Joe> I have a function that refreshes the content of window (it goes and
    Joe> grabs some xml data and then updates the window based on that
    Joe> data).

    Joe> How can I have this function be called every, say, one second?

Check out gtk.timeout_add()/gobject.timeout_add():

    http://www.moeraki.com/pygtkreference/pygtk2reference/gobject-functions.html

-- 
Skip Montanaro
Got gigs? http://www.musi-cal.com/submit.html
Got spam? http://www.spambayes.org/
[EMAIL PROTECTED]
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to