Answers for "Label for Tkinter Python with color and background"

0

Label for Tkinter Python with color and background

label = tk.Label(
    text="Hello, Tkinter",
    foreground="white",  # Set the text color to white
    background="black"  # Set the background color to black
)
Posted by: Guest on June-21-2021
0

Label for Tkinter Python with color and background

label = tk.Label(text="Hello, Tkinter", background="#34A2FE")
Posted by: Guest on June-21-2021

Code answers related to "Label for Tkinter Python with color and background"

Browse Popular Code Answers by Language