Jul-05-2019, 07:33 PM
Your class is is not a proper class it just has functions that aside
okp = tk.Button(root,text='OK', font=(15), fg='white', bg='black', command=ShipPlacementPlayer.placement())command should be passed a callable that it can call when a button is pressed, you need to remove the
()
from ShipPlacementPlayer.placement
so the button press can do the call itself.