def __init__ (self): # self.event = event self.ev = Event( ) self.loop = GLib.MainLoop( ) self.expired = False