Surface.hide

void hide()

Hide the surface.

For toplevel surfaces, withdraws them, so they will no longer be known to the window manager; for all surfaces, unmaps them, so they won’t be displayed. Normally done automatically as part of [[gtk.widget.Widget.hide]](../gtk4/method.Widget.hide.html).