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(self, button, text): Aperture.value(text) # Save value for calling screen Screen.back()
def back(self, button, text): Aperture.value(text) Screen.back()