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

Method __init__

Lib/tkinter/dialog.py:11–22  ·  view source on GitHub ↗
(self, master=None, cnf={}, **kw)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 5

_cnfmergeFunction · 0.90
_setupMethod · 0.45
getintMethod · 0.45
callMethod · 0.45
destroyMethod · 0.45

Tested by

no test coverage detected