Mega Code Archive

 
Categories / Python / GUI Tk
 

Add a label to a frame

from Tkinter import * root = Tk() root.title("Labeler") root.geometry("200x500") app = Frame(root) app.grid() lbl = Label(app, text = "I'm a label!") lbl.grid() root.mainloop()