comparison sat_frontends/jp/output_xmlui.py @ 2961:620bbcec884c

jp (xmlui): check root read_only status in addition to widget one
author Goffi <goffi@goffi.org>
date Fri, 14 Jun 2019 12:49:45 +0200
parents 003b8b4b56a7
children ab2696e34d29
comparison
equal deleted inserted replaced
2960:5d13d357896c 2961:620bbcec884c
39 C.OUTPUT_LIST_XMLUI, u"simple", self.xmlui_list, default=True 39 C.OUTPUT_LIST_XMLUI, u"simple", self.xmlui_list, default=True
40 ) 40 )
41 41
42 def xmlui(self, data): 42 def xmlui(self, data):
43 xmlui = xmlui_manager.create(self.host, data) 43 xmlui = xmlui_manager.create(self.host, data)
44 xmlui.show(values_only=True) 44 xmlui.show(values_only=True, read_only=True)
45 self.host.disp(u"") 45 self.host.disp(u"")
46 46
47 def xmlui_list(self, data): 47 def xmlui_list(self, data):
48 for d in data: 48 for d in data:
49 self.xmlui(d) 49 self.xmlui(d)