Exemple #1
0
 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
Exemple #3
0
 def back(button):
     for task in self.tasks:
         task.cancel()
     self.tasks = []
     Screen.back()
 def back(self, button, text):
     Aperture.value(text)
     Screen.back()