Ajout icone

This commit is contained in:
VincentLeduc 2017-08-05 23:37:32 +02:00 committed by GitHub
parent e6229d3ac0
commit 748347eef7

View file

@ -17,6 +17,12 @@ class BarreOutils():
def __init__(self):
# céation de la fenetre
self.fenetre = Tk()
# icone fenetre
try:
self.fenetre.iconbitmap("..\icon.ico")
except Exception:
self.fenetre.iconbitmap("icon.ico")
# Booleen fermer : devient true quand on appuie sur le bouton deconnexion
self.fermer = False
# Dimension et position fenetre