This commit is contained in:
2023-12-10 13:15:35 +01:00
parent df8682fd87
commit ef2533a7e8
2 changed files with 15 additions and 0 deletions
@@ -0,0 +1,14 @@
from tkinter import *
root = Tk()
def myClick():
myLabel = Label(root, text="Look! I clicked a Button!")
myLabel.pack()
myButton = Button(root, text="Click Me!", command=myClick, fg="blue", bg="#000000")
myButton.pack()
root.mainloop()