elfoiros a écrit :
Hello tous,
Je met à jour un champ text ( phonenumber = gtk.Entry() ) , ensuite j'attend 5 secondes (Voir code)
Le problème : Le champ est mis a jour après le time.sleep(5) et non avant ???
Code:
self.phonenumber.set_text("Envoi en cours ... Wait")
self.phonenumber.connect("activate", self.enter_callback, self.phonenumber)
self.phonenumber.select_region(0, len(self.phonenumber.get_text()))
time.sleep(5)
Hello tous,
Je met à jour un champ text ( phonenumber = gtk.Entry() ) , ensuite j'attend 5 secondes (Voir code)
Le problème : Le champ est mis a jour après le time.sleep(5) et non avant ???
Désolé pour le doublon :-)