Exemplo n.º 1
0
 def get_viewable_windows(self):
     return reduce(
         lambda acc, ws: helpers.combine_lists(ws.get_viewable_windows(),
                                               acc),
         self.get_active_workspaces(), [])
Exemplo n.º 2
0
 def get_interactable_endpoints(self):
     return reduce(
         lambda acc, ws: helpers.combine_lists(
             ws.get_interactable_endpoints(), acc),
         self.get_active_workspaces(), [])
Exemplo n.º 3
0
 def get_all_windows(self):
     return reduce(
         lambda acc, l: helpers.combine_lists(l.get_all_windows(), acc),
         self.get_children(), [])
Exemplo n.º 4
0
 def get_interactable_endpoints(self):
     return reduce(
         lambda a, c: helpers.combine_lists(c.get_interactable_endpoints(),
                                            a), self.get_children(), [])
Exemplo n.º 5
0
 def get_empty_containers(self):
     return reduce(
         lambda a, c: helpers.combine_lists(c.get_empty_containers(), a),
         self.get_children(), [])