MCPcopy Create free account
hub / github.com/dtmilano/AndroidViewClient / getText

Method getText

src/com/dtmilano/android/viewclient.py:569–579  ·  view source on GitHub ↗

Gets the text attribute. @return: the text attribute or C{None} if not defined

(self)

Source from the content-addressed store, hash-verified

567 return self.children
568
569 def getText(self):
570 """
571 Gets the text attribute.
572
573 @return: the text attribute or C{None} if not defined
574 """
575
576 try:
577 return self.map[self.textProperty]
578 except Exception:
579 return None
580
581 def getHeight(self):
582 """

Calls

no outgoing calls