Home

Published

- 1 min read

tkinter labelframe

img of tkinter labelframe

The solution for this is noted below

tkinter labelframe

Solution

   from Tkinter import *

root = Tk()

labelframe = LabelFrame(root, text="This is a LabelFrame")
labelframe.pack(fill="both", expand="yes")

left = Label(labelframe, text="Inside the LabelFrame")
left.pack()

root.mainloop()

Try other methods by searching on the site. That is if this doesn’t work