[pygtk] can i have a run in a main class

shawn bright nephish at gmail.com
Fri Apr 6 05:15:54 WST 2007


lo there,

back to my question on threads in a gui. I was wondering if, in my
gui, i can have a method like

def run(self):
   while 1:
       yadda yadda yadda


and use this to update my textviews while my 'worker threads' write
their data to a database table or something that the run can use to
get the info from the worker threads?


thanks for any tips!

sk


More information about the pygtk mailing list