web/impl/lxml_toolkit_object.py
def child_added(self, child):
        """ Handle the child added event from the declaration.

        This handler will insert the child toolkit widget in the correct.
        position. Subclasses which need more control should reimplement this
        method.

        """
        super(WebComponent, self).child_added(child)
        if child.widget is not None:
            # Use insert to put in the correct spot
            for i, c in enumerate(self.children()):
                if c == child:
                    self.widget.insert(i, child.widget)
                    break
def child_added(self, child):
        super(WebComponent, self).child_added(child)
        if child.widget is not None:
            # Use insert to put in the correct spot
            for i, c in enumerate(self.children()):
                if c == child:
                    self.widget.insert(i, child.widget)
                    break
def child_added ( self , child ) : super ( WebComponent , self ) . child_added ( child ) if child . widget is not None : # Use insert to put in the correct spot for i , c in enumerate ( self . children ( ) ) : if c == child : self . widget . insert ( i , child . widget ) break
Handle the child added event from the declaration.

        This handler will insert the child toolkit widget in the correct.
        position. Subclasses which need more control should reimplement this
        method.
Handle the child added event from the declaration .