Fenetre toplevel comme messagebox
bonjour à toutes et à tous
voici mon problème sur mon programme j'ai mis un menu avec un onglet aide/ A propos
Code:
aide_menu.add_command(label="A propos", command = a_propos)
qui déclenche la fonction
Code:
1 2 3 4 5 6 7 8 9 10 11 12
| def a_propos():
popup_propos = tkinter.Toplevel(app)
popup_propos.title("A propos")
popup_propos.configure(borderwidth=3, relief="raised")
popup_propos.minsize(width=600, height=400)
popup_propos.maxsize(width=600, height=400)
popupframe = tkinter.Frame(popup_propos, width=300, height=200, borderwidth=1)
popupframe.pack()
btn = tkinter.Button(popupframe, text="Fermer")
btn.pack() |
je voudrais que ma fenêtre "a propos" soit une fenêtre fille par rapport a ma fenêtre principal (comme un popup ou un messagebox)
est ce possible
merci d'avance