project structure push

This commit is contained in:
caliskan
2023-03-31 10:38:08 +02:00
parent 6ece145293
commit bac84033bd
5 changed files with 25 additions and 0 deletions
View File
+18
View File
@@ -0,0 +1,18 @@
import tkinter as tk
def button_callback():
print("Button was clicked")
# Create the main window
window = tk.Tk()
# Add a label to the window
label = tk.Label(text="Hello, World!")
label.pack()
# Add a button to the window
button = tk.Button(text="Click me!", command=button_callback)
button.pack()
# Run the main loop to display the window
window.mainloop()