def on_down_timeout(self, *v): if self.m_value > 0: self.down() self.m_timeout = GObject.timeout_add(DELAY2, self.on_down_timeout)