'Set or replace all items. The given items must be in a
list or set where each item is a tuple of the form:
(jid, node, name)
Arguments:
items -- A series of items in tuple format.'

def set_items(self, items):

    self.del_items()
    for item in items:
        (jid, node, name) = item
        self.add_item(jid, node, name)
