diff --git a/projet_texte/interface.py b/projet_texte/interface.py index 61a89e1c8ec9dcfeb8f2a9622a490719c6aff2a9..bc4630397f075149eeb4538a0a4e945d90422e7e 100644 --- a/projet_texte/interface.py +++ b/projet_texte/interface.py @@ -196,24 +196,34 @@ def interface_main(): c1 = tk.Checkbutton(root, text="CDS", variable=EtatCheckButton[0], onvalue=1, offvalue=0) c1.place(x = 270, y = 210) + c1.select() c2 = tk.Checkbutton(root, text="centromere", variable=EtatCheckButton[1], onvalue=1, offvalue=0) c2.place(x = 370, y = 210) + c2.select() c3 = tk.Checkbutton(root, text="intron", variable=EtatCheckButton[2], onvalue=1, offvalue=0) c3.place(x = 470, y = 210) + c3.select() c4 = tk.Checkbutton(root, text="mobile_element", variable=EtatCheckButton[3], onvalue=1, offvalue=0) c4.place(x = 570, y = 210) + c4.select() c5 = tk.Checkbutton(root, text="ncRNA", variable=EtatCheckButton[4], onvalue=1, offvalue=0) c5.place(x = 700, y = 210) + c5.select() c6 = tk.Checkbutton(root, text="rRNA", variable=EtatCheckButton[5], onvalue=1, offvalue=0) c6.place(x = 270, y = 230) + c6.select() c7 = tk.Checkbutton(root, text="telomere", variable=EtatCheckButton[6], onvalue=1, offvalue=0) c7.place(x = 370, y = 230) + c7.select() c8 = tk.Checkbutton(root, text="tRNA", variable=EtatCheckButton[7], onvalue=1, offvalue=0) c8.place(x = 470, y = 230) + c8.select() c9 = tk.Checkbutton(root, text="3'UTR", variable=EtatCheckButton[8], onvalue=1, offvalue=0) c9.place(x = 570, y = 230) + c9.select() c10 = tk.Checkbutton(root, text="5'UTR", variable=EtatCheckButton[9], onvalue=1, offvalue=0) c10.place(x = 670, y = 230) + c10.select() scroll = Scrollbar(root) scroll.pack(side=RIGHT, fill=Y)