MCPcopy Index your code
hub / github.com/rawpython/remi / empty

Method empty

remi/gui.py:489–492  ·  view source on GitHub ↗

remove all children from the widget

(self)

Source from the content-addressed store, hash-verified

487 return self._parent
488
489 def empty(self):
490 """remove all children from the widget"""
491 for k in list(self.children.keys()):
492 self.remove_child(self.children[k])
493
494 def remove_child(self, child):
495 """Removes a child instance from the Tag's children.

Callers 7

updateMethod · 0.45
on_listener_selectionMethod · 0.45
emptyMethod · 0.45
emptyMethod · 0.45
new_gameMethod · 0.45
explosionMethod · 0.45
on_empty_pressedMethod · 0.45

Calls 1

remove_childMethod · 0.95

Tested by

no test coverage detected