← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #680652]: how to use Region.onChange in pyton with jpype

 

Question #680652 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680652

wu gave more information on the question:
i do something but it not finish  i find onchange and can use but it not return something
my  method :
   Jappeared = ObserverCallBack.appeared 

def change(event):
    print('change')

class Appeared(Jappeared):
     pass
 this class can override the father Jappeared and use

someRegion.onChage(50,Appeared(change))

this can work but can not print('change') but the screen is sure change

i think is the   // here goes your handler code need something? but i
see the java api appeared the method is not print or return something

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.