I tried looking it up but I couldn't find anything. I just want a frame, or a canvas, to have the same size as the main window, and whenever the window is expanded, the frame will also expand. I tried different options but they did not work. Is there any attribute I should add for my frame object below for it to have the same size as the root window?? Please help!
from tkinter import *
root = Tk()
fr = Frame(root, bg = "red")
fr.pack()
root.mainloop()