Mega Code Archive

 
Categories / Python / GUI Tk
 

A child of root window

from Tkinter import * root = Tk() t1 = Toplevel(root) Label(t1, text='This is a child of root').pack(padx=10, pady=10) root.mainloop()