Answers for "tkinter borders"

3

tkiner border

from tkinter import *
root = Tk()

example = Label(root, Text="Hello World!", borderwidth="2", relief="groove")
# Releif is the effect what goes with the border.
#" flat", "raised", "sunken", "ridge", "solid" are relief commands too.

root.mainloop()
Posted by: Guest on March-27-2020
1

tkinter label border

l1 = Label(root, text="This", borderwidth=2, relief="groove")
Posted by: Guest on October-27-2020

Python Answers by Framework

Browse Popular Code Answers by Language