Jul-20-2018, 09:34 AM
(Jul-20-2018, 09:03 AM)Larz60+ Wrote: You need to provide a quit method:
I also moved the __init__ routine to top (will work elsewhere, but other programmers will always look for it at the top)
added startup code 'if __name__ ...'
and created class variable for delete
I'm not sure if you got the problem right. QUIT button works perfectly with the original code. What does not work is the newly gridded button does not execute a function called new_button which should reactivate hello button and remove new button of the grid.