forked from AinaMaminirina18/Planificator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgestion_ecran.py
16 lines (13 loc) · 1.19 KB
/
gestion_ecran.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from kivy.lang.builder import Builder
from kivy.uix.screenmanager import SlideTransition
def gestion_ecran(root):
root.get_screen('Sidebar').ids['gestion_ecran'].add_widget(Builder.load_file('screen/historique/historique.kv'))
root.get_screen('Sidebar').ids['gestion_ecran'].add_widget(Builder.load_file('screen/Home.kv'))
root.get_screen('Sidebar').ids['gestion_ecran'].add_widget(Builder.load_file(f'screen/historique/choix_traitement.kv'))
root.get_screen('Sidebar').ids['gestion_ecran'].add_widget(Builder.load_file('screen/contrat/contrat.kv'))
root.get_screen('Sidebar').ids['gestion_ecran'].add_widget(Builder.load_file('screen/planning/planning.kv'))
root.get_screen('Sidebar').ids['gestion_ecran'].add_widget(Builder.load_file('screen/about.kv'))
root.get_screen('Sidebar').ids['gestion_ecran'].add_widget(Builder.load_file('screen/client/Client.kv'))
root.get_screen('Sidebar').ids['gestion_ecran'].add_widget(Builder.load_file('screen/compte/compte.kv'))
root.get_screen('Sidebar').ids['gestion_ecran'].add_widget(Builder.load_file('screen/compte/compte_not_admin.kv'))
root.get_screen('Sidebar').ids['gestion_ecran'].transition = SlideTransition(direction='up')