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

Method update

tools/python-3.11.9-amd64/Lib/idlelib/tree.py:187–198  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

185 return self
186
187 def update(self):
188 if self.parent:
189 self.parent.update()
190 else:
191 oldcursor = self.canvas['cursor']
192 self.canvas['cursor'] = "watch"
193 self.canvas.update()
194 self.canvas.delete(ALL) # XXX could be more subtle
195 self.draw(7, 2)
196 x0, y0, x1, y1 = self.canvas.bbox(ALL)
197 self.canvas.configure(scrollregion=(0, 0, x1, y1))
198 self.canvas['cursor'] = oldcursor
199
200 def draw(self, x, y):
201 # XXX This hard-codes too many geometry constants!

Callers 15

_debug_object_browserFunction · 0.95
expandMethod · 0.95
collapseMethod · 0.95
initMethod · 0.95
restore_file_breaksMethod · 0.45
winconfig_eventMethod · 0.45
_calltip_windowFunction · 0.45
pyparse.pyFile · 0.45
mywriteMethod · 0.45
loadfileMethod · 0.45

Calls 4

drawMethod · 0.95
deleteMethod · 0.45
bboxMethod · 0.45
configureMethod · 0.45

Tested by 15

setUpClassMethod · 0.36
test_fontlist_keyMethod · 0.36
test_fontlist_mouseMethod · 0.36
setUpClassMethod · 0.36
setUpClassMethod · 0.36
setUpClassMethod · 0.36
setUpClassMethod · 0.36
test_source_selectedMethod · 0.36
test_hover_with_delayMethod · 0.36