← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #240548]: Is there a way to use "popup" with 2 buttons?

 

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

RaiMan proposed the following answer:
... again as real Python ;-)

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

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.