示例#1
0
	def _getColumnContent(self, column):
		children = UIA._get_children(self)
		try:
			return children[column - 1].firstChild.name
		except Exception as e:
			log.debug(e)
		return ""
示例#2
0
	def _getColumnLocation(self,column):
		if column < 1 or column > self.childCount:
			return None
		child = None
		try:
			child = UIA._get_children(self)[column - 1].firstChild
		except Exception as e:
			log.debug(e)
		if not child:
			return None
		return child.location
示例#3
0
	def _get_childCount(self):
		return len(UIA._get_children(self))