Mega Code Archive

 
Categories / Python / GUI Tk
 

Add a label to the top of a frame

from Tkinter import * widget = Label() widget['text'] = 'Hello GUI world!'  widget.pack(side=TOP) mainloop()