Lines Matching full:attributes
6 packevent(event, parameters, attributes) sets params and attrs in an AEAppleEvent record
7 unpackevent(event) returns the parameters and attributes from an AEAppleEvent record
88 attributes = {}
96 attributes[key] = unpack(desc, formodulename)
97 return parameters, attributes
99 def packevent(ae, parameters = {}, attributes = {}):
102 for key, value in attributes.items():
210 def newevent(self, code, subcode, parameters = {}, attributes = {}):
215 packevent(event, parameters, attributes)
224 parameters, attributes = unpackevent(reply, self._moduleName)
225 return reply, parameters, attributes
227 def send(self, code, subcode, parameters = {}, attributes = {}):
229 return self.sendevent(self.newevent(code, subcode, parameters, attributes))