← 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: Open => Answered

RaiMan proposed the following answer:
using jpype, you have to look at the Java API and use the classes,
methods, ... as defined there.

The SikuliX Jython API in some places differ from the Java API.

The Jython wrapper is defined in Lib/sikuli/Sikuli.py. Looking into it
might help to understand the one or other problem and find a solution.

BTW: I decided to use py4j as a python-to-java bridge: my project in an
early stage: https://github.com/RaiMan/sikulix4python

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