glib.timeout_add doesn't works well
- From: kususe interfree it
- To: gtk-list gnome org
- Subject: glib.timeout_add doesn't works well
- Date: 27 Feb 2012 08:05:17 -0000
-----Messaggio originale-----Da: kususe interfree itInviato il: 27 Feb 2012 - 09:00A: gtk-list gnome org
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]