def addComponentAsFirst(self, c):
        """Adds a component into this container. The component is
        added to the left or on top of the other components.

        @param c: the component to be added.
        """
        self.components.insert(0, c)
        try:
            super(AbstractOrderedLayout, self).addComponent(c)
            self.requestRepaint()
        except __HOLE__, e:
            self.components.remove(c)
            raise e
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/abstract_ordered_layout.py/AbstractOrderedLayout.addComponentAsFirst