+ 1
What is the use of configure() in tkinter python?
Help me to solve this problem
3 odpowiedzi
+ 3
config or configure is used to access an object's attributes after its initialisation. For example, here, you define
l = Label(root, bg="ivory", fg="darkgreen")
but then you want to set its text attribute, so you use config:
l.config(text="Correct answer!")
0
helpme
0
ok