예제 #1
0
파일: test.py 프로젝트: antonpaquin/hydrus
 def CallRepeatingWXSafe( self, window, initial_delay, period, func, *args, **kwargs ):
     
     call = HydrusData.Call( func, *args, **kwargs )
     
     job = ClientThreading.WXAwareRepeatingJob( self, self._job_scheduler, window, initial_delay, period, call )
     
     self._job_scheduler.AddJob( job )
     
     return job
예제 #2
0
파일: test.py 프로젝트: antonpaquin/hydrus
 def CallLater( self, initial_delay, func, *args, **kwargs ):
     
     call = HydrusData.Call( func, *args, **kwargs )
     
     job = HydrusThreading.SchedulableJob( self, self._job_scheduler, initial_delay, call )
     
     self._job_scheduler.AddJob( job )
     
     return job
예제 #3
0
파일: test.py 프로젝트: antonpaquin/hydrus
 def CallRepeating( self, initial_delay, period, func, *args, **kwargs ):
     
     call = HydrusData.Call( func, *args, **kwargs )
     
     job = HydrusThreading.RepeatingJob( self, self._job_scheduler, initial_delay, period, call )
     
     self._job_scheduler.AddJob( job )
     
     return job
예제 #4
0
파일: test.py 프로젝트: Xaegrek/hydrus
 def CallLaterWXSafe( self, window, delay, func, *args, **kwargs ):
     
     call = HydrusData.Call( func, *args, **kwargs )
     
     job = ClientThreading.WXAwareJob( self, self._job_scheduler, window, call, initial_delay = delay )
     
     self._job_scheduler.AddJob( job )
     
     return job