Change colour of tkinter button created in a loop?

后端 未结 0 1921
梦谈多话
梦谈多话 2020-12-16 21:29

I have created a grid of buttons using the code below:

for x in range(10):
    for y in range(10):
        btn = Button(frame, command=button_click(x, y))
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题