'Cancels the binding and replaces Python object / UI root.
:type object: object
:type ui: UIElement, None'

def reset(self, object=None, ui=None):

    self.__warn_new_binder('Binder.reset(object,    ui)')
    self.unpopulate()
    if (object is not None):
        self.object = object
    if ui:
        self.ui = ui
    return self
