← 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

    Status: Answered => Open

wu is still having a problem:
hi RaiMan i do  you told this but have some problem there is error
 
class CallBack(ObserverCallBack):TypeError: __new__() takes 2 positional arguments but 4 were given

and my code is 
class CallBack(ObserverCallBack):

    def changed(event): 
        print ("change")

someRegion.onChange(50, CallBack())

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