MCPcopy Create free account
hub / github.com/PyQt5/PyQt / __init__

Method __init__

Test/ChartView/ChatWidget.py:83–86  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

81class CodeScintilla(QsciScintilla):
82
83 def __init__(self, *args, **kwargs):
84 super(CodeScintilla, self).__init__(*args, **kwargs)
85 self.init()
86 self.linesChanged.connect(self.onLinesChanged)
87
88 def onLinesChanged(self):
89 self.setMarginWidth(0, self.fontMetrics().width(str(self.lines())) + 6)

Callers

nothing calls this directly

Calls 2

initMethod · 0.95
__init__Method · 0.45

Tested by

no test coverage detected