Debut de la creation d'une fenêtre avec tkinter

This commit is contained in:
Debucquoy Anthony 2022-11-09 09:26:22 +01:00
parent fc6ed23f4c
commit e345a69657
Signed by: tonitch
GPG Key ID: A78D6421F083D42E

View File

@ -1 +1,18 @@
from tkinter import Tk, N, W, E, S, StringVar
from tkinter import ttk
class Window(Tk):
"""This is the class for the window systeme"""
def __init__(self, title):
Tk.__init__(self)
self.title = title
# TODO: Affichage ici
if __name__ == "__main__":
w = Window("test")
w.mainloop()