I Want to collapse the Frames in the main window:
import tkinter as tk
def main():
main=tk.Tk()
main.window = ClassOfFrameT(main).grid(row=0,column=0)
#I Want to grid_forget() the ClassOfFrame Frame
main.mainloop()
if __name__ == "__main__":
main()
I tryed something like main.windodw.grid_forget()
but AttributeError: 'NoneType' object has no attribute 'RadiosVehicle'
was the error