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
| #Création frame case a cocher building
label_building = LabelFrame(window, labelanchor=NW, text="Building", font=("Lucida Handwriting", 24)
, foreground=("#ff4b0a"), bg=("#000082"), bd=2, relief=RAISED)
label_building.grid(row=2, column=1, sticky=())
#Création case a cocher building
T1 = Checkbutton(label_building, height = 2, width = 10
, text = "T1", font = ("Lucida Handwriting", 12), fg=("white")
, bg=("#000082"), selectcolor='#0066CC')
T2 = Checkbutton(label_building, height = 2, width = 10
, text = "T2", font = ("Lucida Handwriting", 12), fg=("white")
, bg=("#000082"), selectcolor='#0066CC')
T3 = Checkbutton(label_building, height = 2, width = 10
, text = "T3", font = ("Lucida Handwriting", 12), fg=("white")
, bg=("#000082"), selectcolor='#0066CC')
T4 = Checkbutton(label_building, height = 2, width = 10
, text = "T4", font = ("Lucida Handwriting", 12), fg=("white")
, bg=("#000082"), selectcolor='#0066CC')
T1.grid(row=0, column=1, sticky=())
T2.grid(row=1, column=1, sticky=())
T3.grid(row=2, column=1, sticky=())
T4.grid(row=3, column=1, sticky=())
#Création frame case a cocher simulateur
label_simulator = LabelFrame(window, labelanchor=NW, text="Simulator", font=("Lucida Handwriting", 24)
, foreground=("#ff4b0a"), bg=("#000082"), bd=2, relief=RAISED)
label_simulator.grid(row=2, column=2, sticky=())
#Création case a cocher side
PG = Checkbutton(label_side, height = 2, width = 10
, text = "Both", font = ("Lucida Handwriting", 12)
, fg=("white"), bg=("#000082"), selectcolor='#0066CC')
P = Checkbutton(label_side, height = 2, width = 10
, text = "Pilot", font = ("Lucida Handwriting", 12), fg=("white")
, bg=("#000082"), selectcolor='#0066CC')
G = Checkbutton(label_side, height = 2, width = 10
, text = "Gunner", font = ("Lucida Handwriting", 12), fg=("white")
, bg=("#000082"), selectcolor='#0066CC')
PG.grid(row=0, column=1, sticky=())
P.grid(row=1, column=1, sticky=())
G.grid(row=2, column=1, sticky=()) |
Partager