method reparent parent =
      scrolledwindow1#misc#reparent parent;
      toplevel#destroy ()