'Append a component
@param item: the component'

def append(self, item=None):

    if (item is not None):
        if (type(item) is list):
            for i in item:
                self.append(i)
        else:
            item.set_parent(self)
    return self
