T-ISN-Projet-Emulateur/module/button.py
raphael60650 5e263e8bb1 v0.6
Sauvegarde du 14/04/2020
2020-04-15 00:11:25 +02:00

16 lines
603 B
Python

class button():
def __init__(self): # Cette fonction est automatiquement éxécuter lors de la création de l'objet
self.frame = LabelFrame(Fen, text = "Button") # On créer une sous-fenêtre
self.frame.grid(row = 2, column = 3, sticky = "NEWS") # On l'affiche
self.big_but = Button(self.frame, text = "", background = "lightgray", width = 8, height = 5, relief = GROOVE) # On créer le boutton du haut
self.big_but.grid(row = 1, column = 1)
def start(self):
pass
# déterminer les règles pour désamorçer
classModule["button"] = button()