def __init__(self, gui, wmd): AsserterMixIn.__init__(self) GuiWidgetContainer.__init__(self, gui._automator.config) Locatable.__init__(self, gui, wmd) #, parent, obj_name="GuiElement") SingleGuiWidget.__init__(self, gui, wmd) self.__gns = GNS(self, gui._gui_def) self.__finder = GuiElementFinder(self) self.__wmd_finder = GuiElementEmdFinder(self)
def __init__(self, gui, wmd, elements=None): #, parent=None): AsserterMixIn.__init__(self) Locatable.__init__(self, gui, wmd) #, parent) _Dispatchable.__init__(self) if elements: self.__elements = elements self._size = len(elements) else: self.__elements = list() self._load_source_parser()
def __init__(self, text, *fargs, **fnargs): str.__init__(text) AsserterMixIn.__init__(self) self.__content = text self.__do_eval = False if type(self.__content) is not str: self.__do_eval = True self.__content = str(self.__content) self.__fargs = fargs self.__fnargs = fnargs if self.__fargs or self.__fnargs: self.format(*self.__fargs, **self.__fnargs)
def __init__(self, gui, wmd, elements=None, dispatcher=None): #, parent=None): AsserterMixIn.__init__(self) IterableAsserterMixin.__init__(self) Locatable.__init__(self, gui, wmd) #, parent) _Dispatchable.__init__(self) # When a mulit-element is created using a filter. if dispatcher is not None: self._dispatcher = dispatcher if not elements: self.__elements = list() else: self.__elements = list() self._size = len(elements) self._container = self.__elements self._load_source_parser()
def __init__(self, container): AsserterMixIn.__init__(self) IterableAsserterMixin.__init__(self) self._container = container
def __init__(self, pydict: dict = None): _ArDict.__init__(self, pydict) AsserterMixIn.__init__(self)