

def event(self, event):
    ' A custom event handler which handles LayoutRequest events.\n\n        When a LayoutRequest event is posted to this widget, it will\n        emit the `layoutRequested` signal. This allows an external\n        consumer of this widget to update their external layout.\n\n        '
    res = super(QNotebook, self).event(event)
    if (event.type() == QEvent.LayoutRequest):
        self.layoutRequested.emit()
    return res

dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/qt_notebook.py QNotebook.event/original