Previously in this chapter, we used the following line of code:
Let's explore what it means here. Tkinter supports the following four types of Toplevel window:
- The main Toplevel window: This is the type we have been constructing so far.
- The child Toplevel window: This type is independent of the root. The Toplevel child behaves independently of its root, but it gets destroyed if its parent is destroyed.
- The transient Toplevel window: This always appears at the top of its parent, but it does not entirely grab the focus. Clicking again on the parent window allows you to interact with it. The transient window is hidden when the parent is minimized, and it is destroyed if the parent is ...