How to Change Background Color of Root Window in Python tkinter

from tkinter import *
root =Tk()
root.title("Tkinter ICON Change")
root.geometry("600x280+350+86")
root.config(bg="#f0f022")     # change background color
root.mainloop()

Write Down Code Your Code Editor. To show Your Output. If Use Pycharm Press Shift+F10 and Show Your Output.


Post a Comment

أحدث أقدم