MCPcopy Create free account
hub / github.com/PyQt5/PyQtClient / bind

Method bind

Widgets/ToolTip.py:38–41  ·  view source on GitHub ↗
(cls, widget)

Source from the content-addressed store, hash-verified

36
37 @classmethod
38 def bind(cls, widget):
39 if not cls._instance:
40 cls._instance = cls()
41 widget.installEventFilter(cls._instance)
42
43 def setText(self, text):
44 self.label.setText(text)

Callers 3

_initUiMethod · 0.80
__init__Method · 0.80
__init__Method · 0.80

Calls

no outgoing calls

Tested by 1

__init__Method · 0.64