Exemplo n.º 1
0
 def build(self):
     self.theme_cls.primary_palette = "Gray"
     builder = Builder.load_file('bottom.kv')
     persons = Persons()
     print(builder.ids.navigation)
     builder.ids.navigation.ids.tab_manager.screens[2].add_widget(persons)
     return builder
Exemplo n.º 2
0
 def build(self):
     self.theme_cls.primary_palette = "Gray"
     builder = Builder.load_file('main.kv')
     self.persons = Persons()
     builder.ids.navigation.ids.tab_manager.screens[0].add_widget(
         self.persons)
     return builder