Answers for "creation 2eme fenetre tkinter"

0

creation 2eme fenetre tkinter

from tkinter import *
 
def faireApparaitreLeToplevel():
    top=Toplevel(root)
    lab=Label(top, text="Ce soir je vais manger des frites")
    lab.pack()
 
root=Tk()
go=Button(root, text="lancer", command=faireApparaitreLeToplevel)
go.pack()
root.mainloop()
Posted by: Guest on April-23-2020

Python Answers by Framework

Browse Popular Code Answers by Language