MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / __init__

Method __init__

tools/python-3.11.9-amd64/Lib/idlelib/help.py:240–247  ·  view source on GitHub ↗
(self, parent, filename, title)

Source from the content-addressed store, hash-verified

238class HelpWindow(Toplevel):
239 "Display frame with rendered html."
240 def __init__(self, parent, filename, title):
241 Toplevel.__init__(self, parent)
242 self.wm_title(title)
243 self.protocol("WM_DELETE_WINDOW", self.destroy)
244 self.frame = HelpFrame(self, filename)
245 self.frame.grid(column=0, row=0, sticky='nsew')
246 self.grid_columnconfigure(0, weight=1)
247 self.grid_rowconfigure(0, weight=1)
248
249
250def copy_strip(): # pragma: no cover

Callers

nothing calls this directly

Calls 7

wm_titleMethod · 0.80
grid_columnconfigureMethod · 0.80
grid_rowconfigureMethod · 0.80
HelpFrameClass · 0.70
__init__Method · 0.45
protocolMethod · 0.45
gridMethod · 0.45

Tested by

no test coverage detected