MCPcopy Index your code
hub / github.com/RustPython/RustPython / _setup_dialog

Function _setup_dialog

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

Source from the content-addressed store, hash-verified

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

Callers 3

__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