bt.on_press = TileMain.tile_select(self)here you call
tile_select()
method of TileMain
class and bind return value (which is None
) to bt.on_pres
. And None
is not callable.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs