Lines Matching defs:prop
241 prop = propl[0]
242 self.props.append('/'.join((pg, prop)))
252 def get_prop_val(self, pg = None, prop = None):
253 """Get prop's [first] property value."""
258 if pg == None and prop != None and prop.find('/') != -1:
259 (pg, prop) = prop.split('/', 2)
262 if prop == None:
263 prop = self.DEFPROP
264 ret = self.svc.get_prop_values(pg, prop)
274 def get_prop_val_list(self, pg = None, prop = None):
275 """Get all of the prop's property values as a tuple."""
280 if pg == None and prop != None and prop.find('/') != -1:
281 (pg, prop) = prop.split('/', 2)
284 if prop == None:
285 prop = self.DEFPROP
286 return self.svc.get_prop_values(pg, prop)
308 prop = propl[0]
309 gprops.append('/'.join((pg, prop)))
321 def join(self, pg = None, prop = None):
322 """Join and return a pg/prop combination.
323 If pg or prop are None, use the default."""
324 if pg == None and prop != None and prop.find('/') != -1:
325 return prop
328 if prop == None:
329 prop = self.DEFPROP
330 return '/'.join((pg,prop))
436 def add_prop_val(self, pg, prop, ptype, val):
444 ret = self.svc.set_propvalue(pg, prop, ptype, val)
861 if fndprop: # PG and at least 1 prop exist