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

Function _setup_dialog

Lib/tkinter/simpledialog.py:263–268  ·  view source on GitHub ↗
(w)

Source from the content-addressed store, hash-verified

261
262
263def _setup_dialog(w):
264 if w._windowingsystem == "aqua":
265 w.tk.call("::tk::unsupported::MacWindowStyle", "style",
266 w, "moveableModal", "")
267 elif w._windowingsystem == "x11":
268 w.wm_attributes(type="dialog")
269
270# --------------------------------------------------------------------
271# convenience dialogues

Callers 6

__init__Method · 0.90
__init__Method · 0.90
create_widgetsMethod · 0.90
__init__Method · 0.90
__init__Method · 0.85
__init__Method · 0.85

Calls 2

wm_attributesMethod · 0.80
callMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…