gui/component.py
def set_parent(self, new_parent, init=False):
        "Re-parent a child control with the new wx_obj parent"
        Component.set_parent(self, new_parent, init)
        # if not called from constructor, we must also reparent in wx:
        if not init:
            if DEBUG: print "reparenting", ctrl.name
            if hasattr(self.wx_obj, "Reparent"):
                self.wx_obj.Reparent(self._parent.wx_obj)
def set_parent(self, new_parent, init=False):
        "Re-parent a child control with the new wx_obj parent"
        Component.set_parent(self, new_parent, init)
        # if not called from constructor, we must also reparent in wx:
        if not init:
            if DEBUG: print "reparenting", ctrl.name
            if hasattr(self.wx_obj, "Reparent"):
                self.wx_obj.Reparent(self._parent.wx_obj)
def set_parent ( self , new_parent , init = False ) : Component . set_parent ( self , new_parent , init ) # if not called from constructor, we must also reparent in wx:
 if not init : if DEBUG : print "reparenting" , ctrl . name if hasattr ( self . wx_obj , "Reparent" ) : self . wx_obj . Reparent ( self . _parent . wx_obj )
Re-parent a child control with the new wx_obj parent
Re - parent a child control with the new wx_obj parent