Answers for "tkinter color"

12

tkinter background color

root.configure(background='black')
Posted by: Guest on November-23-2019
3

text color tkinter

from Tkinter import *

def onclick():
   pass

root = Tk()
text = Text(root)
text.insert(INSERT, "Hello.....")
text.insert(END, "Bye Bye.....")
text.pack()

text.tag_add("here", "1.0", "1.4")
text.tag_add("start", "1.8", "1.13")
text.tag_config("here", background="yellow", foreground="blue")
text.tag_config("start", background="black", foreground="green")
root.mainloop()
Posted by: Guest on March-04-2021
3

gui.configure(background="light green") in tkinter

gui.configure(background="light green")
Posted by: Guest on July-11-2020
1

tkinter color chart

# Standard colors include:
gray99 # white
black # black
lawn green # light green

# those are the main ones I use. The green is just to inspect frames for
# troubleshooting.
Posted by: Guest on March-23-2021

Python Answers by Framework

Browse Popular Code Answers by Language