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

Method innerHTML

remi/gui.py:346–358  ·  view source on GitHub ↗
(self, local_changed_widgets)

Source from the content-addressed store, hash-verified

344 runtimeInstances[new_identifier] = self
345
346 def innerHTML(self, local_changed_widgets):
347 ret = ''
348 for k in self._render_children_list:
349 s = self.children[k]
350 if isinstance(s, Tag):
351 ret = ret + s.repr(local_changed_widgets)
352 elif isinstance(s, type('')):
353 ret = ret + s
354 elif isinstance(s, type(u'')):
355 ret = ret + s.encode('utf-8')
356 else:
357 ret = ret + repr(s)
358 return ret
359
360 def repr(self, changed_widgets=None):
361 """It is used to automatically represent the object to HTML format

Callers 5

reprMethod · 0.95
reprMethod · 0.80
reprMethod · 0.80
set_root_widgetMethod · 0.80

Calls 1

reprMethod · 0.45

Tested by

no test coverage detected