def back(self, button, text): Aperture.value(text) Screen.back()
def back(button): Screen.back()
def callback(self, obj_listbox): if obj_listbox._initial_value is not None: # a touch has occurred val = obj_listbox.textvalue() Screen.back() if self.dropdown is not None: # Part of a Dropdown self.dropdown.value(obj_listbox.value()) # Update it
def back(button): for task in self.tasks: task.cancel() self.tasks = [] Screen.back()