Home | History | Annotate | Download | only in plat-mac

Lines Matching refs:cancel

4 AskString(prompt, default) -- ask for a string, display OK and Cancel buttons.
6 AskYesNoCancel(question, default) -- display a question and Yes, No and Cancel buttons.
97 def AskString(prompt, default = "", id=261, ok=None, cancel=None):
102 Return None when the user clicks the Cancel button.
125 if cancel is not None:
127 h.SetControlTitle(cancel)
139 def AskPassword(prompt, default='', id=264, ok=None, cancel=None):
145 Return None when the user clicks the Cancel button.
169 if cancel is not None:
171 h.SetControlTitle(cancel)
173 d.SetDialogCancelItem(Dialogs.cancel)
183 def AskYesNoCancel(question, default = 0, yes=None, no=None, cancel=None, id=262):
188 Return -1 when the user clicks the Cancel button.
206 # 4 = Cancel
222 if cancel is not None:
223 if cancel == '':
227 h.SetControlTitle(cancel)
309 # Test for cancel button
809 s2 = AskPassword("Okay %s, tell us your nickname"%s, s, cancel="None")