

def showEvent(self, event):
    ' Reimplemented to connect signal handlers and event filter.\n        '
    super(CallTipWidget, self).showEvent(event)
    self._text_edit.cursorPositionChanged.connect(self._cursor_position_changed)
    self._text_edit.installEventFilter(self)

dataset/ETHPy150Open enthought/pyface/pyface/ui/qt4/console/call_tip_widget.py CallTipWidget.showEvent/original