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

    Status: Open => Answered

RaiMan proposed the following answer:
The Java feature behind popup and input is JOptionPane.

To use it in Python:
import javax.swing.JOptionPane as JO

def myInput (title, msg):
    ret = JO.showConfirmDialog(null, msg, title, JO.YES_NO_OPTION);
    if (ret == JO.CLOSED_OPTION or ret == JO.NO_OPTION) {
      return false;
    }
    return true;
    
for more variants:
http://docs.oracle.com/javase/7/docs/api/javax/swing/JOptionPane.html

-- 
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     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to