This commit is contained in:
mrraclette 2023-10-03 01:45:19 +02:00
parent e947408949
commit b5d201649e

View file

@ -8,7 +8,35 @@ window = Tk()
window.title("Choix EDS")
window.geometry("1080x720")
window.minsize(480, 360)
window.wm_maxsize(1920, 1080)
window.maxsize(1920, 1080)
window.iconbitmap("GUI/bitmap.ico")
window.config(background='#35363a')
#création d'une frame
frame = Frame(window, bg='#35363a')
#ajouter le titre
label_title = Label(frame, text="Aide au choix de la spécialité", font=("Arial", 31), bg='#35363a', fg='#d9d9d9')
#afficher le titre
label_title.pack()
#ajouter la description
label_subtitle = Label(frame, text="Cette application est une assistance pour le choix des EDS et du parcours post BAC", font=("Arial", 16), bg='#35363a', fg='#a6a6a6')
#afficher la description
label_subtitle.pack()
#ajouter un champ de texte
metier = Entry(frame, text="Votre futur métier", font=("Arial", 16), bg='#35363a', fg='#a6a6a6')
#afficher le champ de texte
metier.pack()
#[ajouter un bouton]
onsp_button = Button(frame, text="onisep", font=("Arial", 16), bg='#737373', fg='#a6a6a6')
#afficher le bouton
onsp_button.pack()
#afficher la frame
frame.pack(expand=YES)
#affichage dans la boucle main
window.mainloop()