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

Function GetAllControl

wxauto/utils.py:125–134  ·  view source on GitHub ↗
(ele)

Source from the content-addressed store, hash-verified

123 return text_list
124
125def GetAllControl(ele):
126 def findall(ele, n=0, controls=[]):
127 # if ele.Name:
128 controls.append(ele)
129 eles = ele.GetChildren()
130 for ele1 in eles:
131 controls = findall(ele1, n+1, controls)
132 return controls
133 text_list = findall(ele)[1:]
134 return text_list
135
136def SetClipboardFiles(paths):
137 for file in paths:

Callers 2

parseMethod · 0.85
parseMethod · 0.85

Calls 1

findallFunction · 0.85

Tested by

no test coverage detected