mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Regenerated (from resource files) with sorting version of gensuitemodule.
This is a first step towards regenerating the modules with newer, MacOSX, versions of these programs, and using the programmatic interface to get at the terminology in stead of poking in resource files.
This commit is contained in:
parent
03b9c91aff
commit
7377bec6ae
29 changed files with 3699 additions and 3703 deletions
|
@ -12,6 +12,30 @@ _code = 'ppnt'
|
|||
|
||||
class PowerPlant_Events:
|
||||
|
||||
_argmap_SwitchTellTarget = {
|
||||
'to' : 'data',
|
||||
}
|
||||
|
||||
def SwitchTellTarget(self, _no_object=None, _attributes={}, **_arguments):
|
||||
"""SwitchTellTarget: Makes an object the \xd2focus\xd3 of AppleEvents
|
||||
Keyword argument to: reference to new focus of AppleEvents
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'ppnt'
|
||||
_subcode = 'sttg'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_SwitchTellTarget)
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.get('errn', 0):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
_argmap_select = {
|
||||
'data' : 'data',
|
||||
}
|
||||
|
@ -29,30 +53,6 @@ class PowerPlant_Events:
|
|||
_arguments['----'] = _object
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.get('errn', 0):
|
||||
raise aetools.Error, aetools.decodeerror(_arguments)
|
||||
# XXXX Optionally decode result
|
||||
if _arguments.has_key('----'):
|
||||
return _arguments['----']
|
||||
|
||||
_argmap_SwitchTellTarget = {
|
||||
'to' : 'data',
|
||||
}
|
||||
|
||||
def SwitchTellTarget(self, _no_object=None, _attributes={}, **_arguments):
|
||||
"""SwitchTellTarget: Makes an object the \xd2focus\xd3 of AppleEvents
|
||||
Keyword argument to: reference to new focus of AppleEvents
|
||||
Keyword argument _attributes: AppleEvent attribute dictionary
|
||||
"""
|
||||
_code = 'ppnt'
|
||||
_subcode = 'sttg'
|
||||
|
||||
aetools.keysubst(_arguments, self._argmap_SwitchTellTarget)
|
||||
if _no_object != None: raise TypeError, 'No direct arg expected'
|
||||
|
||||
|
||||
_reply, _arguments, _attributes = self.send(_code, _subcode,
|
||||
_arguments, _attributes)
|
||||
if _arguments.get('errn', 0):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue