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)
| 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 | |
| 1642 | class BODY(Container): |