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

Class Dialog

Lib/tkinter/dialog.py:10–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8
9
10class Dialog(Widget):
11 def __init__(self, master=None, cnf={}, **kw):
12 cnf = _cnfmerge((cnf, kw))
13 self.widgetName = '__dialog__'
14 self._setup(master, cnf)
15 self.num = self.tk.getint(
16 self.tk.call(
17 'tk_dialog', self._w,
18 cnf['title'], cnf['text'],
19 cnf['bitmap'], cnf['default'],
20 *cnf['strings']))
21 try: Widget.destroy(self)
22 except TclError: pass
23
24 def destroy(self): pass
25
26
27def _test():

Callers 2

ok_commandMethod · 0.90
_testFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…