[request] Add YesNo Popup dialog
Bug #1008311 reported by
John Sweeney
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Committed
|
Critical
|
RaiMan |
Bug Description
Suggest adding a standard interface for prompting the user Yes/No questions. this would be implemented similarly to the input interface.
The following jython snippet has worked for me:
from javax.swing import JOptionPane;
def YesNoPopup(
rtn = JOptionPane.
if rtn == JOptionPane.
return True
else:
return False
def YesNoPopup_TEST():
if YesNoPopup("my msg","my title") is True:
print "you hit yes"
else:
print "you hit no"
summary: |
- Enhancement: Add YesNo Popup dialog + [request] Add YesNo Popup dialog |
Changed in sikuli: | |
importance: | Undecided → Wishlist |
Changed in sikuli: | |
status: | New → In Progress |
assignee: | nobody → RaiMan (raimund-hocke) |
importance: | Wishlist → Medium |
tags: | added: fkt-general |
Changed in sikuli: | |
milestone: | none → x1.1 |
Changed in sikuli: | |
status: | In Progress → Fix Committed |
importance: | Medium → Critical |
To post a comment you must log in.