Skip to content

Commit

Permalink
Ajout bouton edition
Browse files Browse the repository at this point in the history
Changement du menu personnalisé dans un nouvelle onglet edition et plus dans fractales
  • Loading branch information
Wateir authored Dec 11, 2024
1 parent 8d28381 commit 54ef726
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions module/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ def __init__(self):
menu_fractale.add_command(label="Fougère", command=lambda: (fougere(self.canvas), self.cacher_parametres()))
menu_fractale.add_command(label="Flocon de Koch", command=lambda: (flocon(self.canvas), self.cacher_parametres()))
menu_fractale.add_command(label="Hilbert", command=lambda: (hilbert(self.canvas), self.cacher_parametres()))

#Menu personalisé
menu_perso = Menu(menu_bar, tearoff=0)
menu_bar.add_cascade(label="Edition", menu=menu_perso)
menu_fractale.add_command(label="Personnalisé", command=self.afficher_parametres)

# Canvas pour afficher les fractales
Expand Down

0 comments on commit 54ef726

Please sign in to comment.