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

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

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

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