[no subject]



Hello to everybody.
want to use glib.timeout_add(i,f) in a python script.
I have a code like this:
 
if (condition):
          glib.timeout_add(i,f)
 
def f:

        (...)
        i = (....)
        (condition)
        return True

Even the value of "i" is different each time I call "f", glib.timeout_add(i,f) call "f" always with the same value of "i".


Suggestions?

Thanks in advance,

 

-------------------------------------------------------------------------------
Valore legale alle tue mail
InterfreePEC - la tua Posta Elettronica Certificata
http://pec.interfree.it
-------------------------------------------------------------------------------


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]