If you want to know what attributes you have given in your label then you can do it. From here you can find all the attributes in your label.
Example:
from tkinter import *
window = Tk()window.title("About To Know Attributes")window.geometry("800x450+500+86")window.config(bg="#FF6103")
label1 = Label(window, text="About Keys", bg="white",borderwidth=10, fg="red", font=("helvetica", 20,"bold"),width=30, height=6, relief="solid")label1.pack()print(label1.keys())
window.mainloop()
Post a Comment