Default top level root window : Frame « GUI Tk « Python
- Python
- GUI Tk
- Frame
Default top level root window

from Tkinter import *
root = Tk()
root.title('Toplevel')
Label(root, text='This is the main (default) Toplevel').pack(pady=10)
root.mainloop()
Related examples in the same category