in reply to Re^6: Clearing anonymous Tk widgetsin thread Clearing anonymous Tk widgets
at the time the button was created and that is done by passing it as an argument to the callback thus:
Or using a proper closure like I showed twice already