def METHOD_NAME(self, ui):
    """Return a new UIWrapper wrapping the given traitsui.ui.UI.
    Parameters
    ----------
    ui : traitsui.ui.UI
        The UI created, e.g. by ``create_ui``.
    Returns
    -------
    wrapper : UIWrapper
    """
    return UIWrapper(
        target=ui,
        registries=self._registries,
        delay=self.delay,
        auto_process_events=self._auto_process_events,
    )