Tomorrow I'll see better, because if I understand correctly, with the same method you can combine a window and its shutters (whether sliding or just openable) into a single object, which are certainly outside the wall into which the window opens. I am talking about windows built into the wall whose shutters are positioned on the perimeter wall and not on the side of the frames