Remove child, which may be either an integer index or the name of a managed subwindow, from the panes.
tkinter.ttk/Panedwindow.forget
Panedwindow.forget