Window.close not working in firefox

broken image

# configure tab with white background initially, yellow background when selected nfigure('TNotebook', tabposition='wn', background='white', tabmargins=0) # put the tabs at the left with white background Style.theme_use('default') # select a theme that allows configuration of ttk.Notebook IMPORTANT: I use only seats with x and y, I do not use pack Note that I use two Frames and that we are operating in an external class (to understand, for example, like when you use the web browser and go down on a page). I would like to apply the scroll bar directly to the page and not to individual widgets I would like to insert the vertical scroll bar to go down in the page1.py file, but I would like to go down directly with the whole page.

broken image

I propose a small executable example where there is a main window that calls an external class inside it. Also I don't want to use pack with side and fill, because I'm already using place with dozens of widgets. I know this question has already been asked, but I'm new to Python and can't ask myself.