remove() removes the child widget passed as the parameter from the container, regardless of the method used to pack that child.