Where do you actually try to change the color the of square? You first have to save a reference to the rectangle, and second use itemconfigure and that reference to change the color (many, many examples on the web).
Insert color in tkinter automatically
Insert color in tkinter automatically
|
|
Messages In This Thread |
Insert color in tkinter automatically - by Dwimmerlaik - Jan-06-2019, 02:39 PM
RE: Insert color in tkinter automatically - by woooee - Jan-06-2019, 05:40 PM
RE: Insert color in tkinter automatically - by Dwimmerlaik - Jan-07-2019, 09:01 AM
RE: Insert color in tkinter automatically - by wuf - Jan-07-2019, 12:54 PM
RE: Insert color in tkinter automatically - by Dwimmerlaik - Jan-07-2019, 07:10 PM
|
Users browsing this thread: 2 Guest(s)