def create(self, parent):

        from enaml.widgets.constraints_widget import ProxyConstraintsWidget

        self.component = self.create_component()

        # We start with an invisible component to avoid flicker. We restore the
        # initial state after the Qt control is parented.
        visible = self.component.visible
        self.component.visible = False

        # Initialize the proxy.
        self.component.initialize()

        # Activate the proxy.
        if not self.component.proxy_is_active:
            self.component.activate_proxy()

        # Fish the Qt control out of the proxy. That's our TaskPane content.
        self.control = self.component.proxy.widget

        # Set the parent
        if parent is not None:
            self.control.setParent(parent)

        # Restore the visibility state
        self.component.visible = visible
        if isinstance(self.component, ProxyConstraintsWidget):
            self.component.proxy.request_relayout()
Checks for SIGINT and if reference wrapping and stores references.
dataset/ETHPy150Open enthought/pyface/pyface/tasks/enaml_pane.py/EnamlPane.create--crossover with--dataset/ETHPy150Open SmokinCaterpillar/pypet/pypet/environment.py/Environment._check_result_and_store_references