@staticmethod
def _on_delete_event(window, event):
    """Called when the window gets destroyed

        Hides the window.

        :param Gtk.Window window: The window
        :param Gdk.Event event: Event data
        """
    window.hide()
    return True
