Add a label to a frame : Label : GUI Tk PYTHON examples


PYTHON examples » GUI Tk » Label »

 

Add a label to a frame


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()


           
         
  



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo GUI Tk
» Label