MCPcopy Index your code
hub / github.com/python/cpython / askokcancel

Function askokcancel

Lib/tkinter/messagebox.py:106–109  ·  view source on GitHub ↗

Ask if operation should proceed; return true if the answer is ok

(title=None, message=None, **options)

Source from the content-addressed store, hash-verified

104
105
106def askokcancel(title=None, message=None, **options):
107 "Ask if operation should proceed; return true if the answer is ok"
108 s = _show(title, message, QUESTION, OKCANCEL, **options)
109 return s == OK
110
111
112def askyesno(title=None, message=None, **options):

Callers 1

messagebox.pyFile · 0.85

Calls 1

_showFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…