correction commentaires & incohérences utf8 + ajout titre fenêtre login
This commit is contained in:
parent
1706f1f44a
commit
167f4f5071
|
@ -1,5 +1,5 @@
|
||||||
# -*-coding:utf8 -*
|
# -*-coding:utf8 -*
|
||||||
"""Affichage de la fen<EFBFBD>tre de login"""
|
"""Affichage de la fenêtre de login"""
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
from tkinter import *
|
from tkinter import *
|
||||||
import Auth.authentication as auth
|
import Auth.authentication as auth
|
||||||
|
@ -11,6 +11,7 @@ class Login():
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|
||||||
self.fenetre = Tk()
|
self.fenetre = Tk()
|
||||||
|
self.fenetre.title('login')
|
||||||
|
|
||||||
# Création de nos widgets
|
# Création de nos widgets
|
||||||
self.message = Label(self.fenetre, text="Merci de vous identifier")
|
self.message = Label(self.fenetre, text="Merci de vous identifier")
|
||||||
|
|
|
@ -7,8 +7,8 @@ from PIL import Image, ImageTk
|
||||||
|
|
||||||
class BarreOutils():
|
class BarreOutils():
|
||||||
|
|
||||||
"""Notre fenêtre principale.
|
"""Notre fenêtre principale.
|
||||||
Tous les widgets sont stockés comme attributs de cette fenêtre."""
|
Tous les widgets sont stockés comme attributs de cette fenêtre."""
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
# céation de la fenetre
|
# céation de la fenetre
|
||||||
|
@ -115,13 +115,3 @@ print(b.fenetre.geometry())
|
||||||
print(b.largeurBoutons)
|
print(b.largeurBoutons)
|
||||||
print(b.hauteurBoutons)
|
print(b.hauteurBoutons)
|
||||||
b.fenetre.mainloop()
|
b.fenetre.mainloop()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue