To make invisible the gadgets owned by a frame, you can set the visible status of the frame to
false. Conversely, to make them visible again you can set the
visible status to true.
The frame’s visible property will automatically apply to all of its children, but will not overwrite their corresponding property values.