MCPcopy
hub / github.com/cluic/wxauto / instance

Method instance

wxauto/uiautomation.py:90–94  ·  view source on GitHub ↗

Singleton instance (this prevents com creation on import).

(cls)

Source from the content-addressed store, hash-verified

88
89 @classmethod
90 def instance(cls) -> '_DllClient':
91 """Singleton instance (this prevents com creation on import)."""
92 if cls._instance is None:
93 cls._instance = cls()
94 return cls._instance
95
96 def __init__(self):
97 binPath = os.path.join(os.path.dirname(os.path.abspath(__file__)), "bin")

Callers 15

__init__Method · 0.45
_getsizeMethod · 0.45
ReleaseMethod · 0.45
FromHandleMethod · 0.45
FromFileMethod · 0.45
ToFileMethod · 0.45
GetPixelColorMethod · 0.45
SetPixelColorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected