コード例 #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))