

def _refreshTabBar(self):
    ' Trigger an immediate relayout and refresh of the tab bar.\n\n        '
    app = QApplication.instance()
    if (app is not None):
        bar = self.tabBar()
        size = bar.size()
        event = QResizeEvent(size, size)
        app.sendEvent(bar, event)
        size = self.size()
        event = QResizeEvent(size, size)
        app.sendEvent(self, self)

dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/qt_notebook.py QNotebook._refreshTabBar/VarMisuse@87/127 `event`->`self`