-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheal_track.py
2164 lines (2050 loc) · 113 KB
/
heal_track.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#!/usr/bin/python3
# -*- coding: utf-8 -*-
"""
Main script to start the application.
It call directly intro.py to validate
access privileges.
"""
import tkinter as tk
from tkinter import ttk
from tkinter import messagebox
from tkinter import scrolledtext
import os
import sys
import platform
import subprocess
import time
import datetime
from playsound import playsound
#import starter.intro
from mainmod.boxapp import callBox
from mainmod.reminder import alarmThread
from mainmod.manualapp import instalpy
from mainmod.patcaps import callResident
from mainmod.backapp import *
from Backup.backupfile import dataBackToSave
from extensions.agenda_extension import extendAgenda
from extensions.case_extended import checkcaseExtend
from extensions.health_ext import extendHealth
from extensions.param_extended import parameters
from param.backup_month import paramBackToSave
from calBmi.bmi_backup import bmiBackToSave
from extensions.bmi_extended import bmicalkilo
from extensions.medvisit_extended import medicalVisit
from extensions.nutri_extended import nutritionExtend
from extensions.overview import overviewExtend
from contact.patconfunc import callPatNum
from contact.famconfunc import callFamWind
from contact.doctorconfunc import callDoctorWind
from contact.homeconfunc import callHomecsWind
class ScrollCanvas(tk.Frame):
"""
To prepare ScrollBar for main application.
"""
def __init__(self, boss=None):
tk.Frame.__init__(self, borderwidth=borderwidth, relief=relief)
self.can = tk.Canvas(self, width=width, height=height, bd=bd, relief=relief)
self.viewPort = tk.Frame(self.can)
self.vsb = tk.Scrollbar(self, orient=tk.VERTICAL, command=self.can.yview)
self.can.configure(yscrollcommand=self.vsb.set)
self.vsb.pack(side=tk.RIGHT, fill=tk.Y)
self.can.pack(side=tk.LEFT, fill=tk.BOTH, expand=1)
self.canvas_window = self.can.create_window((4,4), window=self.viewPort,
anchor=tk.NW, tags="self.viewPort")
self.viewPort.bind("<Configure>", self.onFrameConfigure)
self.can.bind("<Configure>", self.onCanvasConfigure)
self.viewPort.bind('<Enter>', self.onEnter)
self.viewPort.bind('<Leave>', self.onLeave)
self.onFrameConfigure(None)
class MenuBar(tk.Frame):
"""
Wrapp down
"""
def __init__(self, boss=None):
tk.Frame.__init__(self, borderwidth=5, bg='RoyalBlue3', padx=0)
fileMenu = tk.Menubutton(self, text='Menu', fg='white',
font=('Times', 14), bg='grey30', relief=tk.GROOVE)
new_text = tk.StringVar()
try:
with open('./newpatient/entryfile.txt', 'r') as namefile:
line1 = namefile.readline()
new_text = line1
if new_text == '-':
new_text = new_text
else:
new_text = new_text[:-1]
except FileNotFoundError as fileout:
print("[!] File entryfile.txt not found to instantiate"\
" name in labels of menu bar", fileout)
new_text2 = tk.StringVar()
try:
with open('./newpatient/entryfile2.txt', 'r') as namefile2:
line2 = namefile2.readline()
new_text2 = line2
if new_text2 == '--':
new_text2 = new_text2
else:
new_text2 = new_text2[:-1]
except FileNotFoundError as fileout2:
print("[!] File entryfile2.txt not found to instantiate"\
" name in labels of menu bar", fileout2)
new_text3 = tk.StringVar()
try:
with open('./newpatient/entryfile3.txt', 'r') as namefile3:
line3 = namefile3.readline()
new_text3 = line3
if new_text3 == '---':
new_text3 = new_text3
else:
new_text3 = new_text3[:-1]
except FileNotFoundError as fileout3:
print("[!] File entryfile3.txt not found to instantiate"\
" name in labels of menu bar", fileout3)
new_text4 = tk.StringVar()
try:
with open('./newpatient/entryfile4.txt', 'r') as namefile4:
line4 = namefile4.readline()
new_text4 = line4
if new_text4 == '----':
new_text4 = new_text4
else:
new_text4 = new_text4[:-1]
except FileNotFoundError as fileout4:
print("[!] File entryfile4.txt not found to instantiate"\
" name in labels of menu bar", fileout4)
new_text5 = tk.StringVar()
try:
with open('./newpatient/entryfile5.txt', 'r') as namefile5:
line5 = namefile5.readline()
new_text5 = line5
if new_text5 == '-----':
new_text5 = new_text5
else:
new_text5 = new_text5[:-1]
except FileNotFoundError as fileout5:
print("[!] File entryfile5.txt not found to instantiate"\
" name in labels of menu bar", fileout5)
new_text6 = tk.StringVar()
try:
with open('./newpatient/entryfile6.txt', 'r') as namefile6:
line6 = namefile6.readline()
new_text6 = line6
if new_text6 == '------':
new_text6 = new_text6
else:
new_text6 = new_text6[:-1]
except FileNotFoundError as fileout6:
print("[!] File entryfile6.txt not found to instantiate"\
" name in labels of menu bar", fileout6)
new_text7 = tk.StringVar()
try:
with open('./newpatient/entryfile7.txt', 'r') as namefile7:
line7 = namefile7.readline()
new_text7 = line7
if new_text7 == '-------':
new_text7 = new_text7
else:
new_text7 = new_text7[:-1]
except FileNotFoundError as fileout7:
print("[!] File entryfile7.txt not found to instantiate"\
" name in labels of menu bar", fileout7)
new_text8 = tk.StringVar()
try:
with open('./newpatient/entryfile8.txt', 'r') as namefile8:
line8 = namefile8.readline()
new_text8 = line8
if new_text8 == '--------':
new_text8 = new_text8
else:
new_text8 = new_text8[:-1]
except FileNotFoundError as fileout8:
print("[!] File entryfile8.txt not found to instantiate"\
" name in labels of menu bar", fileout8)
new_text9 = tk.StringVar()
try:
with open('./newpatient/entryfile9.txt', 'r') as namefile9:
line9 = namefile9.readline()
new_text9 = line9
if new_text9 == '---------':
new_text9 = new_text9
else:
new_text9 = new_text9[:-1]
except FileNotFoundError as fileout9:
print("[!] File entryfile9.txt not found to instantiate"\
" name in labels of menu bar", fileout9)
new_text10 = tk.StringVar()
try:
with open('./newpatient/entryfile10.txt', 'r') as namefile10:
line10 = namefile10.readline()
new_text10 = line10
if new_text10 == '----------':
new_text10 = new_text10
else:
new_text10 = new_text10[:-1]
except FileNotFoundError as fileout10:
print("[!] File entryfile10.txt not found to instantiate"\
" name in labels of menu bar", fileout10)
new_text11 = tk.StringVar()
try:
with open('./newpatient/entryfile11.txt', 'r') as namefile11:
line11 = namefile11.readline()
new_text11 = line11
if new_text11 == '-----------':
new_text11 = new_text11
else:
new_text11 = new_text11[:-1]
except FileNotFoundError as fileout11:
print("[!] File entryfile11.txt not found to instantiate"\
" name in labels of menu bar", fileout11)
new_text12 = tk.StringVar()
try:
with open('./newpatient/entryfile12.txt', 'r') as namefile12:
line12 = namefile12.readline()
new_text12 = line12
if new_text12 == '------------':
new_text12 = new_text12
else:
new_text12 = new_text12[:-1]
except FileNotFoundError as fileout12:
print("[!] File entryfile12.txt not found to instantiate"\
" name in labels of menu bar", fileout12)
new_text13 = tk.StringVar()
try:
with open('./newpatient/entryfile13.txt', 'r') as namefile13:
line13 = namefile13.readline()
new_text13 = line13
if new_text13 == '-------------':
new_text13 = new_text13
else:
new_text13 = new_text13[:-1]
except FileNotFoundError as fileout13:
print("[!] File entryfile13.txt not found to instantiate"\
" name in labels of menu bar", fileout13)
new_text14 = tk.StringVar()
try:
with open('./newpatient/entryfile14.txt', 'r') as namefile14:
line14 = namefile14.readline()
new_text14 = line14
if new_text14 == '--------------':
new_text14 = new_text14
else:
new_text14 = new_text14[:-1]
except FileNotFoundError as fileout14:
print("[!] File entryfile14.txt not found to instantiate"\
" name in labels of menu bar", fileout14)
new_text15 = tk.StringVar()
try:
with open('./newpatient/entryfile15.txt', 'r') as namefile15:
line15 = namefile15.readline()
new_text15 = line15
if new_text15 == '---------------':
new_text15 = new_text15
else:
new_text15 = new_text15[:-1]
except FileNotFoundError as fileout15:
print("[!] File entryfile15.txt not found to instantiate"\
" name in labels of menu bar", fileout15)
new_text16 = tk.StringVar()
try:
with open('./newpatient/entryfile16.txt', 'r') as namefile16:
line16 = namefile16.readline()
new_text16 = line16
if new_text16 == '----------------':
new_text16 = new_text16
else:
new_text16 = new_text16[:-1]
except FileNotFoundError as fileout16:
print("[!] File entryfile16.txt not found to instantiate"\
" name in labels of menu bar", fileout16)
new_text17 = tk.StringVar()
try:
with open('./newpatient/entryfile17.txt', 'r') as namefile17:
line17 = namefile17.readline()
new_text17 = line17
if new_text17 == '-----------------':
new_text17 = new_text17
else:
new_text17 = new_text17[:-1]
except FileNotFoundError as fileout17:
print("[!] File entryfile17.txt not found to instantiate"\
" name in labels of menu bar", fileout17)
new_text18 = tk.StringVar()
try:
with open('./newpatient/entryfile18.txt', 'r') as namefile18:
line18 = namefile18.readline()
new_text18 = line18
if new_text18 == '------------------':
new_text18 = new_text18
else:
new_text18 = new_text18[:-1]
except FileNotFoundError as fileout18:
print("[!] File entryfile18.txt not found to instantiate"\
" name in labels of menu bar", fileout18)
new_text19 = tk.StringVar()
try:
with open('./newpatient/entryfile19.txt', 'r') as namefile19:
line19 = namefile19.readline()
new_text19 = line19
if new_text19 == '-------------------':
new_text19 = new_text19
else:
new_text19 = new_text19[:-1]
except FileNotFoundError as fileout19:
print("[!] File entryfile19.txt not found to instantiate"\
" name in labels of menu bar", fileout19)
new_text20 = tk.StringVar()
try:
with open('./newpatient/entryfile20.txt', 'r') as namefile20:
line20 = namefile20.readline()
new_text20 = line20
if new_text20 == '--------------------':
new_text20 = new_text20
else:
new_text20 = new_text20[:-1]
except FileNotFoundError as fileout20:
print("[!] File entryfile20.txt not found to instantiate"\
" name in labels of menu bar", fileout20)
new_text21 = tk.StringVar()
try:
with open('./newpatient/entryfile21.txt', 'r') as namefile21:
line21 = namefile21.readline()
new_text21 = line21
if new_text21 == '---------------------':
new_text21 = new_text21
else:
new_text21 = new_text21[:-1]
except FileNotFoundError as fileout21:
print("[!] File entryfile21.txt not found to instantiate"\
" name in labels of menu bar", fileout21)
new_text22 = tk.StringVar()
try:
with open('./newpatient/entryfile22.txt', 'r') as namefile22:
line22 = namefile22.readline()
new_text22 = line22
if new_text22 == '----------------------':
new_text22 = new_text22
else:
new_text22 = new_text22[:-1]
except FileNotFoundError as fileout22:
print("[!] File entryfile22.txt not found to instantiate"\
" name in labels of menu bar", fileout22)
new_text23 = tk.StringVar()
try:
with open('./newpatient/entryfile23.txt', 'r') as namefile23:
line23 = namefile23.readline()
new_text23 = line23
if new_text23 == '-----------------------':
new_text23 = new_text23
else:
new_text23 = new_text23[:-1]
except FileNotFoundError as fileout23:
print("[!] File entryfile23.txt not found to instantiate"\
" name in labels of menu bar", fileout23)
new_text24 = tk.StringVar()
try:
with open('./newpatient/entryfile24.txt', 'r') as namefile24:
line24 = namefile24.readline()
new_text24 = line24
if new_text24 == '------------------------':
new_text24 = new_text24
else:
new_text24 = new_text24[:-1]
except FileNotFoundError as fileout24:
print("[!] File entryfile24.txt not found to instantiate"\
" name in labels of menu bar", fileout24)
fileMenu.pack(side=tk.LEFT, padx=3)
# Menubar
menu1 = Menu(fileMenu, tearoff=0)
menu1.add_command(label='Start Page', underline=0, font=("Times 14 bold"),
background='black', activebackground='aquamarine',
foreground='aquamarine', activeforeground='black',
command=boss.startPage)
menu1.add_command(label="EventBox", underline=0, font=("Times 14 bold"),
background='black', activebackground='aquamarine',
foreground='aquamarine', activeforeground='black',
command=boss.showSynopsis)
menu1.add_command(label="Residents", underline=0, font=("Times 14 bold"),
background='black', activebackground='aquamarine',
foreground='aquamarine', activeforeground='black',
command=boss.showPatients)
menu1.add_command(label='DataBase', font=("Times 14 bold"),
background='black', activebackground='aquamarine',
foreground='white', activeforeground='black',
command=boss.funcPyCon)
menu1.add_command(label='Tutorial', font=("Times 14 bold"),
background='black', activebackground='aquamarine',
foreground='yellow', activeforeground='black',
command=boss.mapApp)
menu1.add_command(label='Alarm', font=("Times 14 bold"),
background='black', activebackground='aquamarine',
foreground='orange', activeforeground='black',
command=boss.alarmProg)
menu1.add_command(label='Quit', font=("Times 14 bold"),
background='black', activebackground='red',
foreground='coral', activeforeground='white',
command=boss.msgExit)
# Integration of 1st menu
fileMenu.configure(activeforeground='black', activebackground='cyan',
menu=menu1)
# Agenda menu
cmd_agenda = tk.Menubutton(self, text='Agenda', font=("Times 14"),
fg='cyan', bg='grey30', relief=tk.GROOVE)
cmd_agenda.pack(side=tk.LEFT, padx=3)
ag3 = Menu(cmd_agenda)
# Wrapped menu agenda
ag3.add_command(label=new_text, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.patientAgenda(a=1))
ag3.add_command(label=new_text2, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.patientAgenda(a=2))
ag3.add_command(label=new_text3, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.patientAgenda(a=3))
ag3.add_command(label=new_text4, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.patientAgenda(a=4))
ag3.add_command(label=new_text5, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.patientAgenda(a=5))
ag3.add_command(label=new_text6, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.patientAgenda(a=6))
ag3.add_command(label=new_text7, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.patientAgenda(a=7))
ag3.add_command(label=new_text8, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.patientAgenda(a=8))
ag3.add_command(label=new_text9, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.patientAgenda(a=9))
ag3.add_command(label=new_text10, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.patientAgenda(a=10))
ag3.add_command(label=new_text11, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.patientAgenda(a=11))
ag3.add_command(label=new_text12, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.patientAgenda(a=12))
ag3.add_command(label=new_text13, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.patientAgenda(a=13))
ag3.add_command(label=new_text14, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.patientAgenda(a=14))
ag3.add_command(label=new_text15, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.patientAgenda(a=15))
ag3.add_command(label=new_text16, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.patientAgenda(a=16))
ag3.add_command(label=new_text17, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.patientAgenda(a=17))
ag3.add_command(label=new_text18, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.patientAgenda(a=18))
ag3.add_command(label=new_text19, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.patientAgenda(a=19))
ag3.add_command(label=new_text20, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.patientAgenda(a=20))
ag3.add_command(label=new_text21, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.patientAgenda(a=21))
ag3.add_command(label=new_text22, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.patientAgenda(a=22))
ag3.add_command(label=new_text23, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.patientAgenda(a=23))
ag3.add_command(label=new_text24, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.patientAgenda(a=24))
# Integration of agenda menu
cmd_agenda.configure(activeforeground='black', activebackground='cyan',
menu=ag3)
# Contact menu
contact = tk.Menubutton(self, text='Contact', font=("Times 14"),
fg='cyan', bg='grey30', relief=tk.GROOVE)
contact.pack(side=tk.LEFT, padx=3)
contchck = Menu(contact)
cont1 = Menu(contchck)
cont1.add_command(label='Patient Data', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contact_num(h=1))
cont1.add_command(label='Relation - Family', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactfamily(j=1))
cont1.add_command(label="Doctors' Data", font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactdoctor(k=1))
cont1.add_command(label='Home care system', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contacthcsystem(l=1))
contchck.add_cascade(label=new_text, underline=0, font=('Times 14'),
background='black', foreground='cyan',
activeforeground='black', activebackground='cyan', menu=cont1)
co2 = Menu(contchck)
co2.add_command(label='Patient Data', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contact_num(h=2))
co2.add_command(label='Relation - Family', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactfamily(j=2))
co2.add_command(label="Doctors' Data", font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactdoctor(k=2))
co2.add_command(label='Home care system', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contacthcsystem(l=2))
contchck.add_cascade(label=new_text2, underline=0, font=('Times 14'),
background='black', foreground='cyan',
activeforeground='black', activebackground='cyan', menu=co2)
co3 = Menu(contchck)
co3.add_command(label='Patient Data', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contact_num(h=3))
co3.add_command(label='Relation - Family', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactfamily(j=3))
co3.add_command(label="Doctors' Data", font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactdoctor(k=3))
co3.add_command(label='Home care system', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contacthcsystem(l=3))
contchck.add_cascade(label=new_text3, underline=0, font=('Times 14'),
background='black', foreground='cyan',
activeforeground='black', activebackground='cyan', menu=co3)
co4 = Menu(contchck)
co4.add_command(label='Patient Data', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contact_num(h=4))
co4.add_command(label='Relation - Family', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactfamily(j=4))
co4.add_command(label="Doctors' Data", font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactdoctor(k=4))
co4.add_command(label='Home care system', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contacthcsystem(l=4))
contchck.add_cascade(label=new_text4, underline=0, font=('Times 14'),
background='black', foreground='cyan',
activeforeground='black', activebackground='cyan', menu=co4)
co5 = Menu(contchck)
co5.add_command(label='Patient Data', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contact_num(h=5))
co5.add_command(label='Relation - Family', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactfamily(j=5))
co5.add_command(label="Doctors' Data", font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactdoctor(k=5))
co5.add_command(label='Home care system', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contacthcsystem(l=5))
contchck.add_cascade(label=new_text5, underline=0, font=('Times 14'),
background='black', foreground='cyan',
activeforeground='black', activebackground='cyan', menu=co5)
co6 = Menu(contchck)
co6.add_command(label='Patient Data', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contact_num(h=6))
co6.add_command(label='Relation - Family', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactfamily(j=6))
co6.add_command(label="Doctors' Data", font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactdoctor(k=6))
co6.add_command(label='Home care system', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contacthcsystem(l=6))
contchck.add_cascade(label=new_text6, underline=0, font=('Times 14'),
background='black', foreground='cyan',
activeforeground='black', activebackground='cyan', menu=co6)
co7 = Menu(contchck)
co7.add_command(label='Patient Data', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contact_num(h=7))
co7.add_command(label='Relation - Family', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactfamily(j=7))
co7.add_command(label="Doctors' Data", font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactdoctor(k=7))
co7.add_command(label='Home care system', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contacthcsystem(l=7))
contchck.add_cascade(label=new_text7, underline=0, font=('Times 14'),
background='black', foreground='cyan',
activeforeground='black', activebackground='cyan', menu=co7)
co8 = Menu(contchck)
co8.add_command(label='Patient Data', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contact_num(h=8))
co8.add_command(label='Relation - Family', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactfamily(j=8))
co8.add_command(label="Doctors' Data", font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactdoctor(k=8))
co8.add_command(label='Home care system', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contacthcsystem(l=8))
contchck.add_cascade(label=new_text8, underline=0, font=('Times 14'),
background='black', foreground='cyan',
activeforeground='black', activebackground='cyan', menu=co8)
co9 = Menu(contchck)
co9.add_command(label='Patient Data', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contact_num(h=9))
co9.add_command(label='Relation - Family', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactfamily(j=9))
co9.add_command(label="Doctors' Data", font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactdoctor(k=9))
co9.add_command(label='Home care system', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contacthcsystem(l=9))
contchck.add_cascade(label=new_text9, underline=0, font=('Times 14'),
background='black', foreground='cyan',
activeforeground='black', activebackground='cyan', menu=co9)
co10 = Menu(contchck)
co10.add_command(label='Patient Data', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contact_num(h=10))
co10.add_command(label='Relation - Family', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactfamily(j=10))
co10.add_command(label="Doctors' Data", font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactdoctor(k=10))
co10.add_command(label='Home care system', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contacthcsystem(l=10))
contchck.add_cascade(label=new_text10, underline=0, font=('Times 14'),
background='black', foreground='cyan',
activeforeground='black', activebackground='cyan', menu=co10)
co11 = Menu(contchck)
co11.add_command(label='Patient Data', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contact_num(h=11))
co11.add_command(label='Relation - Family', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactfamily(j=11))
co11.add_command(label="Doctors' Data", font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactdoctor(k=11))
co11.add_command(label='Home care system', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contacthcsystem(l=11))
contchck.add_cascade(label=new_text11, underline=0, font=('Times 14'),
background='black', foreground='cyan',
activeforeground='black', activebackground='cyan', menu=co11)
co12 = Menu(contchck)
co12.add_command(label='Patient Data', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contact_num(h=12))
co12.add_command(label='Relation - Family', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactfamily(j=12))
co12.add_command(label="Doctors' Data", font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactdoctor(k=12))
co12.add_command(label='Home care system', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contacthcsystem(l=12))
contchck.add_cascade(label=new_text12, underline=0, font=('Times 14'),
background='black', foreground='cyan',
activeforeground='black', activebackground='cyan', menu=co12)
co13 = Menu(contchck)
co13.add_command(label='Patient Data', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contact_num(h=13))
co13.add_command(label='Relation - Family', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactfamily(j=13))
co13.add_command(label="Doctors' Data", font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactdoctor(k=13))
co13.add_command(label='Home care system', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contacthcsystem(l=13))
contchck.add_cascade(label=new_text13, underline=0, font=('Times 14'),
background='black', foreground='cyan',
activeforeground='black', activebackground='cyan', menu=co13)
co14 = Menu(contchck)
co14.add_command(label='Patient Data', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contact_num(h=14))
co14.add_command(label='Relation - Family', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactfamily(j=14))
co14.add_command(label="Doctors' Data", font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactdoctor(k=14))
co14.add_command(label='Home care system', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contacthcsystem(l=14))
contchck.add_cascade(label=new_text14, underline=0, font=('Times 14'),
background='black', foreground='cyan',
activeforeground='black', activebackground='cyan', menu=co14)
co15 = Menu(contchck)
co15.add_command(label='Patient Data', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contact_num(h=15))
co15.add_command(label='Relation - Family', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactfamily(j=15))
co15.add_command(label="Doctors' Data", font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactdoctor(k=15))
co15.add_command(label='Home care system', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contacthcsystem(l=15))
contchck.add_cascade(label=new_text15, underline=0, font=('Times 14'),
background='black', foreground='cyan',
activeforeground='black', activebackground='cyan', menu=co15)
co16 = Menu(contchck)
co16.add_command(label='Patient Data', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contact_num(h=16))
co16.add_command(label='Relation - Family', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactfamily(j=16))
co16.add_command(label="Doctors' Data", font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactdoctor(k=16))
co16.add_command(label='Home care system', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contacthcsystem(l=16))
contchck.add_cascade(label=new_text16, underline=0, font=('Times 14'),
background='black', foreground='cyan',
activeforeground='black', activebackground='cyan', menu=co16)
co17 = Menu(contchck)
co17.add_command(label='Patient Data', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contact_num(h=17))
co17.add_command(label='Relation - Family', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactfamily(j=17))
co17.add_command(label="Doctors' Data", font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactdoctor(k=17))
co17.add_command(label='Home care system', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contacthcsystem(l=17))
contchck.add_cascade(label=new_text17, underline=0, font=('Times 14'),
background='black', foreground='cyan',
activeforeground='black', activebackground='cyan', menu=co17)
co18 = Menu(contchck)
co18.add_command(label='Patient Data', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contact_num(h=18))
co18.add_command(label='Relation - Family', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactfamily(j=18))
co18.add_command(label="Doctors' Data", font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactdoctor(k=18))
co18.add_command(label='Home care system', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contacthcsystem(l=18))
contchck.add_cascade(label=new_text18, underline=0, font=('Times 14'),
background='black', foreground='cyan',
activeforeground='black', activebackground='cyan', menu=co18)
co19 = Menu(contchck)
co19.add_command(label='Patient Data', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contact_num(h=19))
co19.add_command(label='Relation - Family', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactfamily(j=19))
co19.add_command(label="Doctors' Data", font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactdoctor(k=19))
co19.add_command(label='Home care system', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contacthcsystem(l=19))
contchck.add_cascade(label=new_text19, underline=0, font=('Times 14'),
background='black', foreground='cyan',
activeforeground='black', activebackground='cyan', menu=co19)
co20 = Menu(contchck)
co20.add_command(label='Patient Data', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contact_num(h=20))
co20.add_command(label='Relation - Family', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactfamily(j=20))
co20.add_command(label="Doctors' Data", font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactdoctor(k=20))
co20.add_command(label='Home care system', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contacthcsystem(l=20))
contchck.add_cascade(label=new_text20, underline=0, font=('Times 14'),
background='black', foreground='cyan',
activeforeground='black', activebackground='cyan', menu=co20)
co21 = Menu(contchck)
co21.add_command(label='Patient Data', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contact_num(h=21))
co21.add_command(label='Relation - Family', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactfamily(j=21))
co21.add_command(label="Doctors' Data", font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactdoctor(k=21))
co21.add_command(label='Home care system', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contacthcsystem(l=21))
contchck.add_cascade(label=new_text21, underline=0, font=('Times 14'),
background='black', foreground='cyan',
activeforeground='black', activebackground='cyan', menu=co21)
co22 = Menu(contchck)
co22.add_command(label='Patient Data', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contact_num(h=22))
co22.add_command(label='Relation - Family', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactfamily(j=22))
co22.add_command(label="Doctors' Data", font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactdoctor(k=22))
co22.add_command(label='Home care system', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contacthcsystem(l=22))
contchck.add_cascade(label=new_text22, underline=0, font=('Times 14'),
background='black', foreground='cyan',
activeforeground='black', activebackground='cyan', menu=co22)
co23 = Menu(contchck)
co23.add_command(label='Patient Data', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contact_num(h=23))
co23.add_command(label='Relation - Family', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactfamily(j=23))
co23.add_command(label="Doctors' Data", font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactdoctor(k=23))
co23.add_command(label='Home care system', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contacthcsystem(l=23))
contchck.add_cascade(label=new_text23, underline=0, font=('Times 14'),
background='black', foreground='cyan',
activeforeground='black', activebackground='cyan', menu=co23)
co24 = Menu(contchck)
co24.add_command(label='Patient Data', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contact_num(h=24))
co24.add_command(label='Relation - Family', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactfamily(j=24))
co24.add_command(label="Doctors' Data", font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contactdoctor(k=24))
co24.add_command(label='Home care system', font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.contacthcsystem(l=24))
contchck.add_cascade(label=new_text24, underline=0, font=('Times 14'),
background='black', foreground='cyan',
activeforeground='black', activebackground='cyan', menu=co24)
contact.configure(activeforeground='black', activebackground='cyan', menu=contchck)
# 14 besoins menu
cmd_Besoins = tk.Menubutton(self, text='14 Needs', font=("Times 14"),
fg='cyan', bg='grey30', relief=tk.GROOVE)
cmd_Besoins.pack(side=tk.LEFT, padx=3)
# Partie déroulante du menu 14b
needcare4 = Menu(cmd_Besoins)
needcare4.add_command(label=new_text, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.besoinsCoche(b=1))
#needcare4.add_separator()
needcare4.add_command(label=new_text2, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.besoinsCoche(b=2))
#needcare4.add_separator()
needcare4.add_command(label=new_text3, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.besoinsCoche(b=3))
#needcare4.add_separator()
needcare4.add_command(label=new_text4, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.besoinsCoche(b=4))
#needcare4.add_separator()
needcare4.add_command(label=new_text5, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.besoinsCoche(b=5))
#needcare4.add_separator()
needcare4.add_command(label=new_text6, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.besoinsCoche(b=6))
#needcare4.add_separator()
needcare4.add_command(label=new_text7, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.besoinsCoche(b=7))
#needcare4.add_separator()
needcare4.add_command(label=new_text8, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.besoinsCoche(b=8))
#needcare4.add_separator()
needcare4.add_command(label=new_text9, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.besoinsCoche(b=9))
#needcare4.add_separator()
needcare4.add_command(label=new_text10, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.besoinsCoche(b=10))
#needcare4.add_separator()
needcare4.add_command(label=new_text11, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.besoinsCoche(b=11))
#needcare4.add_separator()
needcare4.add_command(label=new_text12, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.besoinsCoche(b=12))
#needcare4.add_separator()
needcare4.add_command(label=new_text13, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.besoinsCoche(b=13))
#needcare4.add_separator()
needcare4.add_command(label=new_text14, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.besoinsCoche(b=14))
#needcare4.add_separator()
needcare4.add_command(label=new_text15, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.besoinsCoche(b=15))
#needcare4.add_separator()
needcare4.add_command(label=new_text16, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.besoinsCoche(b=16))
#needcare4.add_separator()
needcare4.add_command(label=new_text17, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.besoinsCoche(b=17))
#needcare4.add_separator()
needcare4.add_command(label=new_text18, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.besoinsCoche(b=18))
#needcare4.add_separator()
needcare4.add_command(label=new_text19, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.besoinsCoche(b=19))
#needcare4.add_separator()
needcare4.add_command(label=new_text20, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.besoinsCoche(b=20))
#needcare4.add_separator()
needcare4.add_command(label=new_text21, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.besoinsCoche(b=21))
#needcare4.add_separator()
needcare4.add_command(label=new_text22, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.besoinsCoche(b=22))
#needcare4.add_separator()
needcare4.add_command(label=new_text23, font=('Times 14'), background='black',
activebackground='cyan', foreground='cyan', activeforeground='black',
command=lambda: boss.besoinsCoche(b=23))
#needcare4.add_separator()