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

Method settitle

Lib/idlelib/browser.py:134–137  ·  view source on GitHub ↗

Set the window title.

(self)

Source from the content-addressed store, hash-verified

132 node.expand()
133
134 def settitle(self):
135 "Set the window title."
136 self.top.wm_title("Module Browser - " + os.path.basename(self.path))
137 self.top.wm_iconname("Module Browser")
138
139 def rootnode(self):
140 "Return a ModuleBrowserTreeItem as the root of the tree."

Callers 1

initMethod · 0.95

Calls 3

wm_titleMethod · 0.80
wm_iconnameMethod · 0.80
basenameMethod · 0.45

Tested by

no test coverage detected