Home | History | Annotate | Download | only in plat-mac

Lines Matching refs:signature

163     def __init__(self, signature=None, start=0, timeout=0):
167 4-byte signature, an AEDesc or an object that will __aepack__
171 if signature is None:
172 signature = self._signature
173 if type(signature) == AEDescType:
174 self.target = signature
175 elif type(signature) == InstanceType and hasattr(signature, '__aepack__'):
176 self.target = signature.__aepack__()
177 elif type(signature) == StringType and len(signature) == 4:
178 self.target = AE.AECreateDesc(AppleEvents.typeApplSignature, signature)
179 self.target_signature = signature
181 raise TypeError, "signature should be 4-char string or AEDesc"