Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(17)  |  Call(17)  |  Derive(0)  |  Import(0)

src/g/r/gramps-3.4.2/src/plugins/lib/libgrdb.py   Gramps(Download)
                database-rebuild signal.
        """
        self.emit('person-rebuild')
        self.emit('family-rebuild')
        self.emit('place-rebuild')
        self.emit('source-rebuild')
        self.emit('media-rebuild')

src/g/r/gramps-3.4.2/src/gui/widgets/progressdialog.py   Gramps(Download)
    def __del__(self):
        if self._running:
            self.emit('op-end')
 
    def heartbeat(self):
            self._countdown = self._interval
            self._start = time.time()
            self.emit('op-heartbeat')
 
    def step(self):
    def end(self):
        """End the operation. Causes the 'op-end' signal to be emitted.    
        """
        self.emit('op-end')
        self._running = False