Ajout icone
This commit is contained in:
parent
e6229d3ac0
commit
748347eef7
|
@ -17,6 +17,12 @@ class BarreOutils():
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
# céation de la fenetre
|
# céation de la fenetre
|
||||||
self.fenetre = Tk()
|
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
|
# Booleen fermer : devient true quand on appuie sur le bouton deconnexion
|
||||||
self.fermer = False
|
self.fermer = False
|
||||||
# Dimension et position fenetre
|
# Dimension et position fenetre
|
||||||
|
|
Loading…
Reference in a new issue