def METHOD_NAME(self, *_args):
    if not self.container:
        return
    if GTK_API_VERSION >= 4:
        self.scrollable.set_child(None)         # pylint: disable=no-member
    else:
        self.scrollable.remove(self.container)  # pylint: disable=no-member