findState ( interface )
Return the nearest object supporting interface , or None
If the state supports the interface, the state is returned, otherwise
the state's parent components are searched and the first parent
supporting the interface is returned. None is returned if no parent
supports the requested interface.
|