3. Tkinter: Widgets
Channel:
Subscribers:
5,850
Published on ● Video Link: https://www.youtube.com/watch?v=6xOxVSZR06U
Video code
from tkinter import *
def clicked():
label.configure(text="I have been clicked")
window = Tk()
window.title("My program")
window.geometry("350x200")
label = Label(window, text="Click me", bg="red",fg="white")
label.pack()
button = Button(window, text="Click here",command=clicked)
button.pack()
window.mainloop()
Other Videos By Game Design with Reilly
2020-04-08 | 13. Tkinter: ScrollText |
2020-04-08 | 12. Tkinter: Notebook and keyboard inputs |
2020-04-08 | 11. Tkinter: Notebook |
2020-04-08 | 10. Tkinter: Keyboard input |
2020-04-08 | 9. Tkinter: Looping a grid |
2020-04-01 | 8. Tkinter: Frames |
2020-04-01 | 7. Tkinter: Place Layout |
2020-04-01 | 6. Tkinter: Grid Layout |
2020-04-01 | 5. Tkinter: Side Layout |
2020-04-01 | 4. Tkinter: Widget Functions |
2020-04-01 | 3. Tkinter: Widgets |
2020-04-01 | 2 Tkinter: First window |
2020-04-01 | 1 Tkinter: Introduction |
Tags:
Tkinter
python
introduction
intro
tutorial
inputs
outputs
widgets
window
layouts
keyboard
frames
grid
side
place