Mercurial > libervia-backend
diff src/tools/common/template_xmlui.py @ 2419:c38c54c47e16
frontends (xmlui): added an attribute to ignore some widgets (and their label) in create
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 05 Nov 2017 13:53:28 +0100 |
parents | 8b37a62336c3 |
children | 49884c579266 |
line wrap: on
line diff
--- a/src/tools/common/template_xmlui.py Sun Nov 05 13:44:07 2017 +0100 +++ b/src/tools/common/template_xmlui.py Sun Nov 05 13:53:28 2017 +0100 @@ -145,6 +145,9 @@ def _xmluiAppend(self, widget): self.children.append(widget) + def _xmluiRemove(self, widget): + self.children.remove(widget) + class VerticalContainer(xmlui.VerticalContainer, Container): type = u'vertical'