Logo Search packages:      
Sourcecode: gameclock version File versions  Download package

def gameclock::Clock::pause (   self  ) 

pause/unpause the timer

this will start the timeer if stopped and stop it if started

Definition at line 100 of file gameclock.py.

00100                    :
        """pause/unpause the timer
        
        this will start the timeer if stopped and stop it if started
        """
        if self.last_start:
            self.time = self.get_time()
            self.last_start = 0          
            self.update()
        else:
            self.start()

    def get_time(self):


Generated by  Doxygen 1.6.0   Back to index