comparison frontends/src/tools/xmlui.py @ 2387:a59f2abd970e

frontends (xmlui): added ValueGetter.keys
author Goffi <goffi@goffi.org>
date Fri, 20 Oct 2017 08:39:58 +0200
parents e50aee5caf33
children 7fff98d64ab5
comparison
equal deleted inserted replaced
2386:2e05921df16a 2387:a59f2abd970e
323 def __getitem__(self, name): 323 def __getitem__(self, name):
324 return getattr(self.widgets[name], self.attr) 324 return getattr(self.widgets[name], self.attr)
325 325
326 def __getattr__(self, name): 326 def __getattr__(self, name):
327 return self.__getitem__(name) 327 return self.__getitem__(name)
328
329 def keys(self):
330 return self.widgets.keys()
328 331
329 332
330 class XMLUIPanel(XMLUIBase): 333 class XMLUIPanel(XMLUIBase):
331 """XMLUI Panel 334 """XMLUI Panel
332 335