0
wx.CallLater 함수를 사용하여 반환 된 응답 = 6이 정상적으로 작동 할 때까지 10 초마다 다른 함수를 호출하는 함수가 있습니다.wx.CallLater 루프 함수 중지
def confirmTimer(self):
txid = utility.read_txid()
confirms = utility.pConfirms(self.params['paddress'])
if confirms < 6:
print "the timer has started"
wx.CallLater(10000, self.confirmTimer) #increase to 10000 after testing
self.confirm_count.SetLabel(str(confirms))
self.cgauge.SetValue(int(confirms))