def unrealize(self, widget, date=None): print "unrealized\n" timetableprocess.stop()
def restart(self, widget): timetableprocess.stop() self.button.set_image(self.getImage(self.IMG_LOADING)) timetableprocess.start(self.station, 100, self.update)