

def create_widget(self):
    ' Create the underlying widget.\n\n        '
    widget = QFrame(self.parent_widget())
    vtk_widget = QVTKRenderWindowInteractor(widget)
    layout = QVBoxLayout()
    layout.setContentsMargins(0, 0, 0, 0)
    layout.setSpacing(0)
    layout.addWidget(vtk_widget)
    widget.setLayout(layout)
    self.widget = widget
    self.vtk_widget = vtk_widget

dataset/ETHPy150Open nucleic/enaml/enaml/qt/qt_vtk_canvas.py QtVTKCanvas.create_widget/original