toplevel

Toplevel not pack()-ing widgets

Toplevel not pack()-ing widgets Question: I’m working on a project that I hope will be used for flashcards, but I’ve encountered a problem with TopLevel(). When I run this code, it works exactly how I want it to, except when I click the Review Sets button, it creates a new window but won’t pack any …

Total answers: 1

Is there any way to assign `tkinter.Toplevel` to a variable without packing it?

Is there any way to assign `tkinter.Toplevel` to a variable without packing it? Question: When you call tkinter.Toplevel or assign it to a variable, it immediately packs (shows up in the screen). The idea behind this concept is, there will be multiple widgets placed on the top level and those widgets will take some time …

Total answers: 1

Using grid() with TopLevel window not laying out widgets as expected

Using grid() with TopLevel window not laying out widgets as expected Question: I’m trying to use the grid() layout manager to apply to a Toplevel window that successfully opens, but I can only get pack() to work. It seems that using the grid(row=x, column=y) isn’t working – what am I missing please? I’m using the …

Total answers: 2