@classmethod
def auto(cls):
    """Automatically select a pane to attach to.
        If there are somehow no panels that exist then None will be returned.
        """
    for pane_func in cls.__PRIORITY:
        pane = pane_func.__get__(cls, None)()
        if pane is not None:
            return pane
