Exemplo n.º 1
0
 def region_handler(self, region, cities):
     """Populate the list of cities when a continent is selected."""
     cities.remove_all()
     for city in get_timezone(region.get_active_id(), []):
         cities.append(city, city)
Exemplo n.º 2
0
 def region_handler(self, regions, cities):
     """Populate the list of cities when a continent is selected."""
     cities.remove_all()
     for city in get_timezone(regions.get_active_id(), []):
         cities.append(city, city)