T-ISN-Projet-Emulateur/module/display.py
raphael60650 276edc9dad v0.2
Sauvegarde du 09/04/2020
2020-04-14 23:52:03 +02:00

10 lines
458 B
Python

class display():
def __init__(self): # Cette fonction est automatiquement éxécuter lors de la création de l'objet
self.frame = LabelFrame(Fen, text = "Display") # On créer une sous-fenêtre
self.frame.grid(row = 1, column = 1, sticky = "NEWS") # On l'affiche
self.label = Label(self.frame, text = "ici on affichera le texte")
self.label.grid(row = 1, column = 1, sticky = "NEWS")
classModule["display"] = display()