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

Method repr

remi/gui.py:1627–1639  ·  view source on GitHub ↗

It is used to automatically represent the object to HTML format packs all the attributes, children and so on. Args: changed_widgets (dict): A dictionary containing a collection of tags that have to be updated. The tag that have to be updated is the key, a

(self, changed_widgets=None)

Source from the content-addressed store, hash-verified

1625 self.add_child('title', "<title>%s</title>" % title)
1626
1627 def repr(self, changed_widgets=None):
1628 """It is used to automatically represent the object to HTML format
1629 packs all the attributes, children and so on.
1630
1631 Args:
1632 changed_widgets (dict): A dictionary containing a collection of tags that have to be updated.
1633 The tag that have to be updated is the key, and the value is its textual repr.
1634 """
1635 if changed_widgets is None:
1636 changed_widgets = {}
1637 local_changed_widgets = {}
1638 self._set_updated()
1639 return ''.join(('<', self.type, '>\n', self.innerHTML(local_changed_widgets), '\n</', self.type, '>'))
1640
1641
1642class BODY(Container):

Callers 1

test_initMethod · 0.95

Calls 2

_set_updatedMethod · 0.80
innerHTMLMethod · 0.80

Tested by 1

test_initMethod · 0.76