Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

tkinter frame inside frame

from tkinter import *

root = Tk()

frame1 = Frame(root)
frame1.pack()

frame2 = Frame(frame1)
frame2.pack()

#obviously you can add in other parameters, but this is the basic syntax. 
#instead of packing it into the root window, you pack it into the other frame.
 
PREVIOUS NEXT
Tagged: #tkinter #frame #frame
ADD COMMENT
Topic
Name
2+1 =