Python 3, tkinter, buttons -


i want move button in tkinter, making game chess , want click first time on figure , on second click move this, know how possible ?

thx !

i believe can use buttons although uncommon. make pure black/white frames empty squares. manage alias of buttons of figures individually (maybe should manage white/black background in figure subclasses). use 8x8 grid in frame , make them show/hide using grid() , grid_remove() / grid_forget().

you can find nice reference here , here.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -