def __init__(self, role, *a, **k): """ Create a L{ShareScrollingElement}. Take all the same arguments as a L{ScrollingElement}, in addition to a L{Role} object that this scrolling view will be restricted to. """ self.role = role ScrollingElement.__init__(self, *a, **k)