Ejemplo n.º 1
0
 def __add_gametile(self, game):
     for child in self.flowbox.get_children():
         if game == child.get_children()[0].game:
             return
     self.flowbox.add(GameTile(self, game, self.api))
     self.sort_library()
     self.flowbox.show_all()
Ejemplo n.º 2
0
 def __add_gametile(self, game):
     view = Config.get("view")
     if view == "grid":
         self.flowbox.add(GameTile(self, game))
     elif view == "list":
         self.flowbox.add(GameTileList(self, game))
     self.sort_library()
     self.flowbox.show_all()
Ejemplo n.º 3
0
 def __add_gametile(self, game):
     self.flowbox.add(GameTile(self, game, self.api))
     self.sort_library()
     self.flowbox.show_all()