Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Tk_button_grid_layout_borderwidth_of_3.py
- from Tkinter import *
- root = Tk()
- Button(root, text='R1-C1', borderwidth=3).grid(row=1, column=1)
- Button(root, text='R1-C2', borderwidth=3).grid(row=1, column=2)
- Button(root, text='R2-C3', borderwidth=3).grid(row=2, column=3)
- Button(root, text='R2-C4', borderwidth=3).grid(row=2, column=4)
- Button(root, text='R3-C3', borderwidth=3).grid(row=3, column=3)
- Button(root, text='R4-C1', borderwidth=3).grid(row=4, column=1)
- root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement