MCPcopy Create free account
hub / github.com/cluic/wxauto / GetTextPattern

Method GetTextPattern

wxauto/uiautomation.py:7393–7397  ·  view source on GitHub ↗

Return `TextPattern` if it supports the pattern else None(Conditional support according to MSDN).

(self)

Source from the content-addressed store, hash-verified

7391 self.AddSearchProperties(ControlType=ControlType.ToolTipControl)
7392
7393 def GetTextPattern(self) -> TextPattern:
7394 """
7395 Return `TextPattern` if it supports the pattern else None(Conditional support according to MSDN).
7396 """
7397 return self.GetPattern(PatternId.TextPattern)
7398
7399 def GetWindowPattern(self) -> WindowPattern:
7400 """

Callers

nothing calls this directly

Calls 1

GetPatternMethod · 0.80

Tested by

no test coverage detected