summaryrefslogtreecommitdiffstats
path: root/Mac/Lib/lib-scriptpackages/Netscape/Standard_Suite.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Lib/lib-scriptpackages/Netscape/Standard_Suite.py')
-rw-r--r--Mac/Lib/lib-scriptpackages/Netscape/Standard_Suite.py39
1 files changed, 20 insertions, 19 deletions
diff --git a/Mac/Lib/lib-scriptpackages/Netscape/Standard_Suite.py b/Mac/Lib/lib-scriptpackages/Netscape/Standard_Suite.py
index 1044ca8..fd624a8 100644
--- a/Mac/Lib/lib-scriptpackages/Netscape/Standard_Suite.py
+++ b/Mac/Lib/lib-scriptpackages/Netscape/Standard_Suite.py
@@ -1,7 +1,7 @@
"""Suite Standard Suite: Common terms for most applications
Level 1, version 1
-Generated from Macintosh HD:Internet:Internet-programma's:Netscape CommunicatorŽ-map:Netscape CommunicatorŽ
+Generated from Moes:Applications (Mac OS 9):Netscape CommunicatorŽ Folder:Netscape CommunicatorŽ
AETE/AEUT resource version 1/0, language 0, script 0
"""
@@ -10,7 +10,8 @@ import MacOS
_code = 'CoRe'
-class Standard_Suite_Events:
+from StdSuites.Standard_Suite import *
+class Standard_Suite_Events(Standard_Suite_Events):
def close(self, _object, _attributes={}, **_arguments):
"""close: Close an object
@@ -26,7 +27,7 @@ class Standard_Suite_Events:
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
- if _arguments.has_key('errn'):
+ if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
if _arguments.has_key('----'):
@@ -47,7 +48,7 @@ class Standard_Suite_Events:
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
- if _arguments.has_key('errn'):
+ if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
if _arguments.has_key('----'):
@@ -68,7 +69,7 @@ class Standard_Suite_Events:
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
- if _arguments.has_key('errn'):
+ if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
if _arguments.has_key('----'):
@@ -93,7 +94,7 @@ class Standard_Suite_Events:
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
- if _arguments.has_key('errn'):
+ if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
if _arguments.has_key('----'):
@@ -212,23 +213,23 @@ _classdeclarations = {
}
_propdeclarations = {
- 'ptit' : titled,
+ 'prsz' : resizable,
+ 'busy' : busy,
+ 'KOSK' : kiosk_mode,
+ 'pvis' : visible,
+ 'hclb' : closeable,
+ 'pmod' : modal,
+ 'wiid' : unique_ID,
+ 'pbnd' : bounds,
+ 'iszm' : zoomable,
+ 'ALAP' : alert_application,
'pidx' : index,
+ 'isfl' : floating,
+ 'pnam' : name,
'ppos' : position,
'curl' : URL,
- 'pnam' : name,
- 'pbnd' : bounds,
- 'isfl' : floating,
- 'hclb' : closeable,
- 'ALAP' : alert_application,
- 'iszm' : zoomable,
- 'pmod' : modal,
'pzum' : zoomed,
- 'pvis' : visible,
- 'KOSK' : kiosk_mode,
- 'busy' : busy,
- 'prsz' : resizable,
- 'wiid' : unique_ID,
+ 'ptit' : titled,
}
_compdeclarations = {