':param uid: element UID
:type  uid: int
:returns: the nearest child with given UID or ``None``
:rtype: :class:`UIElement`, None'

def find_uid(self, uid):

    r = self.nearest((lambda x: (x.uid == uid)))
    return (r[0] if (len(r) > 0) else None)
