4. Tkinter: Widget Functions

Subscribers:
5,850
Published on ● Video Link: https://www.youtube.com/watch?v=Qi50Qb3xJ7o



Duration: 2:22
59 views
0


from tkinter import *

window = Tk()
window.title("My program")
window.geometry("350x200")

label = Label(window, text="Click me")
label.pack(side=TOP,fill=X, padx = 10)

button = Button(window, text="Click here")
button.pack(side=RIGHT, fill =Y)


window.mainloop()







Tags:
Tkinter
python
introduction
intro
tutorial
inputs
outputs
widgets
window
layouts
keyboard
frames
grid
side
place