

def __init__(self, scriptNode, parenting=None):
    self.__column = GafferUI.ListContainer(GafferUI.ListContainer.Orientation.Vertical)
    GafferUI.EditorWidget.__init__(self, self.__column, scriptNode, parenting=parenting)
    self.__splineGadget = GafferUI.SplinePlugGadget()
    self.__selectionAddedConnection = self.__splineGadget.selection().memberAddedSignal().connect(Gaffer.WeakMethod(scriptNode.__selectionChanged))
    self.__selectionRemovedConnection = self.__splineGadget.selection().memberRemovedSignal().connect(Gaffer.WeakMethod(self.__selectionChanged))
    self.__gadgetWidget = GafferUI.GadgetWidget(self.__splineGadget, cameraMode=GafferUI.GadgetWidget.CameraMode.Mode2D)
    self.__gadgetWidget.setBackgroundColor(IECore.Color3f(0.07))
    self.__column.append(self.__gadgetWidget, expand=True)
    self.__plugWidgetRow = GafferUI.ListContainer(GafferUI.ListContainer.Orientation.Horizontal)
    self.__xPlugWidget = GafferUI.NumericPlugValueWidget(plug=None)
    self.__plugWidgetRow.append(self.__xPlugWidget, expand=True)
    self.__yPlugWidget = GafferUI.NumericPlugValueWidget(plug=None)
    self.__plugWidgetRow.append(self.__yPlugWidget, expand=True)
    self.__column.append(self.__plugWidgetRow)

dataset/ETHPy150Open ImageEngine/gaffer/python/GafferUI/SplineEditor.py SplineEditor.__init__/VarMisuse@84/134 `self`->`scriptNode`