'Dispatches an event to an element with given UID
:param uid: element UID
:type  uid: int
:param event: event name
:type  event: str
:param params: event arguments
:type  params: dict, None'

def dispatch_event(self, uid, event, params=None):

    self.root.dispatch_event(uid, event, params)
