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

Method expand

tools/python-3.11.9-amd64/Lib/idlelib/tree.py:151–157  ·  view source on GitHub ↗
(self, event=None)

Source from the content-addressed store, hash-verified

149 return "break"
150
151 def expand(self, event=None):
152 if not self.item._IsExpandable():
153 return
154 if self.state != 'expanded':
155 self.state = 'expanded'
156 self.update()
157 self.view()
158
159 def collapse(self, event=None):
160 if self.state != 'collapsed':

Callers 9

remote_stack_viewerMethod · 0.95
flipMethod · 0.95
_tree_widgetFunction · 0.95
StackBrowserFunction · 0.95
initMethod · 0.95
test_initMethod · 0.95
_replace_expandMethod · 0.45

Calls 3

updateMethod · 0.95
viewMethod · 0.95
_IsExpandableMethod · 0.80

Tested by 3

test_initMethod · 0.76