Question #270538 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/270538
Ryan posted a new comment:
It looks like there is something more to this so I will provide some
more detail:
An object is looking to find a series of buttons to assign regions to. I
am first assigning the image to a dictionary like this:
buttons = {"Login": self.loginButton} # self.loginButton is a string
path to the image file.
These buttons are then iterated through to create regions in another object
like so:
for button in buttons:
img = buttons[button]
buttons[button] = Button(self.find(img)) # The object is a subclass of
Region so self.find() is calling the find() on a region.
Is this a new limitation to subclassing the region objects not found in
the previous release?
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp