Hi, If your GUI needs to do some task periodically, you can use gobject.timeout_add to attach a callback. Here's the reference:
http://pygtk.org/docs/pygobject/gobject-functions.html#function-gobject--timeout-add Hope that helps. Kelvin 2009/6/6 Alexandre González <[email protected]> > Hi! > > I like to know the best way to refresh my buttons... I go to explain. I'm > developing a frontend, so I depend that the backend change some values, so > after a little time I need to read some propertys from the backend and setup > my frontend button. What's the best way to do it and don't use a lot of CPU. > > Thank you! > > -- > Please, don't send me files with extensions: .doc, .docx, .xls, .xlsx, .ppt > and/or .pptx > http://mirblu.com > > _______________________________________________ > pygtk mailing list [email protected] > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://faq.pygtk.org/ >
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
