def buttonListener2(self, event): global I I = I - 1 setText(name[I]) HZmobilBroker(name[I], password[I]) ##改变标题 var.set(name[I])
def buttonListener1(self, event): global I I = I + 1 setText(name[I]) HZmobilBroker(name[I], password[I]) ##改变标题 var.set(name[I]) if name[I] == u"嗨住管家03": self.button6.state = "normal" else: self.button6.state = "disabled"
def deli(): global I I = I - 1 setText(name[I]) HZmobilBroker(name[I], password[I])
def addi(): # print (name[I]) global I I = I + 1 setText(name[I]) HZmobilBroker(name[I], password[I])