Debut de la creation d'une fenêtre avec tkinter
This commit is contained in:
parent
fc6ed23f4c
commit
e345a69657
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user