Answers for "border in python components"

3

python 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

Python Answers by Framework

Browse Popular Code Answers by Language