comparison frontends/src/wix/param.py @ 634:ca2cae6b2c6d

core: security attribute added to the parameters - getParams, getParamsUI and getParamsForCategory have a security_limit parameter to filter - parameters with security = 0 can be retrieved/modified from Libervia
author souliane <souliane@mailoo.org>
date Thu, 05 Sep 2013 20:28:44 +0200
parents 84a6e83157c2
children 49587e170f53
comparison
equal deleted inserted replaced
633:6a29a4d574bd 634:ca2cae6b2c6d
100 panel.SetSizer(panel.sizer) 100 panel.SetSizer(panel.sizer)
101 panel.SetAutoLayout(True) 101 panel.SetAutoLayout(True)
102 self.notebook.AddPage(panel, category) 102 self.notebook.AddPage(panel, category)
103 cat_dom.unlink() 103 cat_dom.unlink()
104 104
105 self.host.bridge.getParamsForCategory(category, profile_key = self.host.profile, callback = gotParams, errback = errorGettingParams) 105 self.host.bridge.getParamsForCategory(category,
106 security_limit=-1,
107 profile_key=self.host.profile,
108 callback=gotParams,
109 errback=errorGettingParams)
106 110
107 def onTextChanged(self, event): 111 def onTextChanged(self, event):
108 """Called when a string paramater is modified""" 112 """Called when a string paramater is modified"""
109 self.modified[event.GetEventObject().param_id]=event.GetString() 113 self.modified[event.GetEventObject().param_id]=event.GetString()
110 114