

def create_widget(self):
    ' Create the underlying notebook widget.\n\n        '
    widget = QNotebook(self.parent_widget())
    if (sys.platform == 'darwin'):
        widget.setAttribute(Qt.WA_LayoutUsesWidgetRect, True)
    self.widget = widget

dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/qt_notebook.py QtNotebook.create_widget/original