ยปCore Development>Code coverage>Lib/plat-mac/lib-scriptpackages/StdSuites/Standard_Suite.py

Python code coverage for Lib/plat-mac/lib-scriptpackages/StdSuites/Standard_Suite.py

#countcontent
1n/a"""Suite Standard Suite: Common terms for most applications
2n/aLevel 1, version 1
3n/a
4n/aGenerated from /Volumes/Sap/System Folder/Extensions/AppleScript
5n/aAETE/AEUT resource version 1/0, language 0, script 0
6n/a"""
7n/a
8n/aimport aetools
9n/aimport MacOS
10n/a
11n/a_code = 'core'
12n/a
13n/afrom _builtinSuites.builtin_Suite import *
14n/aclass Standard_Suite_Events(builtin_Suite_Events):
15n/a
16n/a _argmap_class_info = {
17n/a 'in_' : 'wrcd',
18n/a }
19n/a
20n/a def class_info(self, _object=None, _attributes={}, **_arguments):
21n/a """class info: (optional) Get information about an object class
22n/a Required argument: the object class about which information is requested
23n/a Keyword argument in_: the human language and script system in which to return information
24n/a Keyword argument _attributes: AppleEvent attribute dictionary
25n/a Returns: a record containing the object\xd5s properties and elements
26n/a """
27n/a _code = 'core'
28n/a _subcode = 'qobj'
29n/a
30n/a aetools.keysubst(_arguments, self._argmap_class_info)
31n/a _arguments['----'] = _object
32n/a
33n/a
34n/a _reply, _arguments, _attributes = self.send(_code, _subcode,
35n/a _arguments, _attributes)
36n/a if _arguments.get('errn', 0):
37n/a raise aetools.Error, aetools.decodeerror(_arguments)
38n/a # XXXX Optionally decode result
39n/a if _arguments.has_key('----'):
40n/a return _arguments['----']
41n/a
42n/a _argmap_close = {
43n/a 'saving' : 'savo',
44n/a 'saving_in' : 'kfil',
45n/a }
46n/a
47n/a def close(self, _object, _attributes={}, **_arguments):
48n/a """close: Close an object
49n/a Required argument: the object to close
50n/a Keyword argument saving: specifies whether changes should be saved before closing
51n/a Keyword argument saving_in: the file or alias in which to save the object
52n/a Keyword argument _attributes: AppleEvent attribute dictionary
53n/a """
54n/a _code = 'core'
55n/a _subcode = 'clos'
56n/a
57n/a aetools.keysubst(_arguments, self._argmap_close)
58n/a _arguments['----'] = _object
59n/a
60n/a aetools.enumsubst(_arguments, 'savo', _Enum_savo)
61n/a
62n/a _reply, _arguments, _attributes = self.send(_code, _subcode,
63n/a _arguments, _attributes)
64n/a if _arguments.get('errn', 0):
65n/a raise aetools.Error, aetools.decodeerror(_arguments)
66n/a # XXXX Optionally decode result
67n/a if _arguments.has_key('----'):
68n/a return _arguments['----']
69n/a
70n/a _argmap_count = {
71n/a 'each' : 'kocl',
72n/a }
73n/a
74n/a def count(self, _object, _attributes={}, **_arguments):
75n/a """count: Return the number of elements of an object
76n/a Required argument: the object whose elements are to be counted
77n/a Keyword argument each: if specified, restricts counting to objects of this class
78n/a Keyword argument _attributes: AppleEvent attribute dictionary
79n/a Returns: the number of elements
80n/a """
81n/a _code = 'core'
82n/a _subcode = 'cnte'
83n/a
84n/a aetools.keysubst(_arguments, self._argmap_count)
85n/a _arguments['----'] = _object
86n/a
87n/a
88n/a _reply, _arguments, _attributes = self.send(_code, _subcode,
89n/a _arguments, _attributes)
90n/a if _arguments.get('errn', 0):
91n/a raise aetools.Error, aetools.decodeerror(_arguments)
92n/a # XXXX Optionally decode result
93n/a if _arguments.has_key('----'):
94n/a return _arguments['----']
95n/a
96n/a _argmap_data_size = {
97n/a 'as' : 'rtyp',
98n/a }
99n/a
100n/a def data_size(self, _object, _attributes={}, **_arguments):
101n/a """data size: (optional) Return the size in bytes of an object
102n/a Required argument: the object whose data size is to be returned
103n/a Keyword argument as: the data type for which the size is calculated
104n/a Keyword argument _attributes: AppleEvent attribute dictionary
105n/a Returns: the size of the object in bytes
106n/a """
107n/a _code = 'core'
108n/a _subcode = 'dsiz'
109n/a
110n/a aetools.keysubst(_arguments, self._argmap_data_size)
111n/a _arguments['----'] = _object
112n/a
113n/a
114n/a _reply, _arguments, _attributes = self.send(_code, _subcode,
115n/a _arguments, _attributes)
116n/a if _arguments.get('errn', 0):
117n/a raise aetools.Error, aetools.decodeerror(_arguments)
118n/a # XXXX Optionally decode result
119n/a if _arguments.has_key('----'):
120n/a return _arguments['----']
121n/a
122n/a def delete(self, _object, _attributes={}, **_arguments):
123n/a """delete: Delete an object from its container. Note this does not work on script variables, only on elements of application classes.
124n/a Required argument: the element to delete
125n/a Keyword argument _attributes: AppleEvent attribute dictionary
126n/a """
127n/a _code = 'core'
128n/a _subcode = 'delo'
129n/a
130n/a if _arguments: raise TypeError, 'No optional args expected'
131n/a _arguments['----'] = _object
132n/a
133n/a
134n/a _reply, _arguments, _attributes = self.send(_code, _subcode,
135n/a _arguments, _attributes)
136n/a if _arguments.get('errn', 0):
137n/a raise aetools.Error, aetools.decodeerror(_arguments)
138n/a # XXXX Optionally decode result
139n/a if _arguments.has_key('----'):
140n/a return _arguments['----']
141n/a
142n/a _argmap_duplicate = {
143n/a 'to' : 'insh',
144n/a 'with_properties' : 'prdt',
145n/a }
146n/a
147n/a def duplicate(self, _object, _attributes={}, **_arguments):
148n/a """duplicate: Duplicate one or more objects
149n/a Required argument: the object(s) to duplicate
150n/a Keyword argument to: the new location for the object(s)
151n/a Keyword argument with_properties: the initial values for properties of the new object that are to be different from the original
152n/a Keyword argument _attributes: AppleEvent attribute dictionary
153n/a Returns: to the duplicated object(s)
154n/a """
155n/a _code = 'core'
156n/a _subcode = 'clon'
157n/a
158n/a aetools.keysubst(_arguments, self._argmap_duplicate)
159n/a _arguments['----'] = _object
160n/a
161n/a
162n/a _reply, _arguments, _attributes = self.send(_code, _subcode,
163n/a _arguments, _attributes)
164n/a if _arguments.get('errn', 0):
165n/a raise aetools.Error, aetools.decodeerror(_arguments)
166n/a # XXXX Optionally decode result
167n/a if _arguments.has_key('----'):
168n/a return _arguments['----']
169n/a
170n/a _argmap_event_info = {
171n/a 'in_' : 'wrcd',
172n/a }
173n/a
174n/a def event_info(self, _object, _attributes={}, **_arguments):
175n/a """event info: (optional) Get information about the Apple events in a suite
176n/a Required argument: the event class of the Apple events for which to return information
177n/a Keyword argument in_: the human language and script system in which to return information
178n/a Keyword argument _attributes: AppleEvent attribute dictionary
179n/a Returns: a record containing the events and their parameters
180n/a """
181n/a _code = 'core'
182n/a _subcode = 'gtei'
183n/a
184n/a aetools.keysubst(_arguments, self._argmap_event_info)
185n/a _arguments['----'] = _object
186n/a
187n/a
188n/a _reply, _arguments, _attributes = self.send(_code, _subcode,
189n/a _arguments, _attributes)
190n/a if _arguments.get('errn', 0):
191n/a raise aetools.Error, aetools.decodeerror(_arguments)
192n/a # XXXX Optionally decode result
193n/a if _arguments.has_key('----'):
194n/a return _arguments['----']
195n/a
196n/a def exists(self, _object, _attributes={}, **_arguments):
197n/a """exists: Verify if an object exists
198n/a Required argument: the object in question
199n/a Keyword argument _attributes: AppleEvent attribute dictionary
200n/a Returns: true if it exists, false if not
201n/a """
202n/a _code = 'core'
203n/a _subcode = 'doex'
204n/a
205n/a if _arguments: raise TypeError, 'No optional args expected'
206n/a _arguments['----'] = _object
207n/a
208n/a
209n/a _reply, _arguments, _attributes = self.send(_code, _subcode,
210n/a _arguments, _attributes)
211n/a if _arguments.get('errn', 0):
212n/a raise aetools.Error, aetools.decodeerror(_arguments)
213n/a # XXXX Optionally decode result
214n/a if _arguments.has_key('----'):
215n/a return _arguments['----']
216n/a
217n/a def handleBreakpoint(self, _object, _attributes={}, **_arguments):
218n/a """handleBreakpoint: return true to stop at a breakpoint
219n/a Required argument: the call frame of the breakpoint
220n/a Keyword argument _attributes: AppleEvent attribute dictionary
221n/a Returns: true to stop, false if not
222n/a """
223n/a _code = 'core'
224n/a _subcode = 'brak'
225n/a
226n/a if _arguments: raise TypeError, 'No optional args expected'
227n/a _arguments['----'] = _object
228n/a
229n/a
230n/a _reply, _arguments, _attributes = self.send(_code, _subcode,
231n/a _arguments, _attributes)
232n/a if _arguments.get('errn', 0):
233n/a raise aetools.Error, aetools.decodeerror(_arguments)
234n/a # XXXX Optionally decode result
235n/a if _arguments.has_key('----'):
236n/a return _arguments['----']
237n/a
238n/a _argmap_make = {
239n/a 'new' : 'kocl',
240n/a 'at' : 'insh',
241n/a 'with_data' : 'data',
242n/a 'with_properties' : 'prdt',
243n/a }
244n/a
245n/a def make(self, _no_object=None, _attributes={}, **_arguments):
246n/a """make: Make a new element
247n/a Keyword argument new: the class of the new element
248n/a Keyword argument at: the location at which to insert the element
249n/a Keyword argument with_data: the initial data for the element
250n/a Keyword argument with_properties: the initial values for the properties of the element
251n/a Keyword argument _attributes: AppleEvent attribute dictionary
252n/a Returns: to the new object(s)
253n/a """
254n/a _code = 'core'
255n/a _subcode = 'crel'
256n/a
257n/a aetools.keysubst(_arguments, self._argmap_make)
258n/a if _no_object is not None: raise TypeError, 'No direct arg expected'
259n/a
260n/a
261n/a _reply, _arguments, _attributes = self.send(_code, _subcode,
262n/a _arguments, _attributes)
263n/a if _arguments.get('errn', 0):
264n/a raise aetools.Error, aetools.decodeerror(_arguments)
265n/a # XXXX Optionally decode result
266n/a if _arguments.has_key('----'):
267n/a return _arguments['----']
268n/a
269n/a _argmap_move = {
270n/a 'to' : 'insh',
271n/a }
272n/a
273n/a def move(self, _object, _attributes={}, **_arguments):
274n/a """move: Move object(s) to a new location
275n/a Required argument: the object(s) to move
276n/a Keyword argument to: the new location for the object(s)
277n/a Keyword argument _attributes: AppleEvent attribute dictionary
278n/a Returns: to the object(s) after they have been moved
279n/a """
280n/a _code = 'core'
281n/a _subcode = 'move'
282n/a
283n/a aetools.keysubst(_arguments, self._argmap_move)
284n/a _arguments['----'] = _object
285n/a
286n/a
287n/a _reply, _arguments, _attributes = self.send(_code, _subcode,
288n/a _arguments, _attributes)
289n/a if _arguments.get('errn', 0):
290n/a raise aetools.Error, aetools.decodeerror(_arguments)
291n/a # XXXX Optionally decode result
292n/a if _arguments.has_key('----'):
293n/a return _arguments['----']
294n/a
295n/a def open(self, _object, _attributes={}, **_arguments):
296n/a """open: Open the specified object(s)
297n/a Required argument: list of objects to open
298n/a Keyword argument _attributes: AppleEvent attribute dictionary
299n/a """
300n/a _code = 'aevt'
301n/a _subcode = 'odoc'
302n/a
303n/a if _arguments: raise TypeError, 'No optional args expected'
304n/a _arguments['----'] = _object
305n/a
306n/a
307n/a _reply, _arguments, _attributes = self.send(_code, _subcode,
308n/a _arguments, _attributes)
309n/a if _arguments.get('errn', 0):
310n/a raise aetools.Error, aetools.decodeerror(_arguments)
311n/a # XXXX Optionally decode result
312n/a if _arguments.has_key('----'):
313n/a return _arguments['----']
314n/a
315n/a def print_(self, _object, _attributes={}, **_arguments):
316n/a """print: Print the specified object(s)
317n/a Required argument: list of objects to print
318n/a Keyword argument _attributes: AppleEvent attribute dictionary
319n/a """
320n/a _code = 'aevt'
321n/a _subcode = 'pdoc'
322n/a
323n/a if _arguments: raise TypeError, 'No optional args expected'
324n/a _arguments['----'] = _object
325n/a
326n/a
327n/a _reply, _arguments, _attributes = self.send(_code, _subcode,
328n/a _arguments, _attributes)
329n/a if _arguments.get('errn', 0):
330n/a raise aetools.Error, aetools.decodeerror(_arguments)
331n/a # XXXX Optionally decode result
332n/a if _arguments.has_key('----'):
333n/a return _arguments['----']
334n/a
335n/a _argmap_quit = {
336n/a 'saving' : 'savo',
337n/a }
338n/a
339n/a def quit(self, _no_object=None, _attributes={}, **_arguments):
340n/a """quit: Quit an application
341n/a Keyword argument saving: specifies whether to save currently open documents
342n/a Keyword argument _attributes: AppleEvent attribute dictionary
343n/a """
344n/a _code = 'aevt'
345n/a _subcode = 'quit'
346n/a
347n/a aetools.keysubst(_arguments, self._argmap_quit)
348n/a if _no_object is not None: raise TypeError, 'No direct arg expected'
349n/a
350n/a aetools.enumsubst(_arguments, 'savo', _Enum_savo)
351n/a
352n/a _reply, _arguments, _attributes = self.send(_code, _subcode,
353n/a _arguments, _attributes)
354n/a if _arguments.get('errn', 0):
355n/a raise aetools.Error, aetools.decodeerror(_arguments)
356n/a # XXXX Optionally decode result
357n/a if _arguments.has_key('----'):
358n/a return _arguments['----']
359n/a
360n/a def reopen(self, _no_object=None, _attributes={}, **_arguments):
361n/a """reopen: Reactivate a running application. Some applications will open a new untitled window if no window is open.
362n/a Keyword argument _attributes: AppleEvent attribute dictionary
363n/a """
364n/a _code = 'aevt'
365n/a _subcode = 'rapp'
366n/a
367n/a if _arguments: raise TypeError, 'No optional args expected'
368n/a if _no_object is not None: raise TypeError, 'No direct arg expected'
369n/a
370n/a
371n/a _reply, _arguments, _attributes = self.send(_code, _subcode,
372n/a _arguments, _attributes)
373n/a if _arguments.get('errn', 0):
374n/a raise aetools.Error, aetools.decodeerror(_arguments)
375n/a # XXXX Optionally decode result
376n/a if _arguments.has_key('----'):
377n/a return _arguments['----']
378n/a
379n/a def run(self, _no_object=None, _attributes={}, **_arguments):
380n/a """run: Run an application. Most applications will open an empty, untitled window.
381n/a Keyword argument _attributes: AppleEvent attribute dictionary
382n/a """
383n/a _code = 'aevt'
384n/a _subcode = 'oapp'
385n/a
386n/a if _arguments: raise TypeError, 'No optional args expected'
387n/a if _no_object is not None: raise TypeError, 'No direct arg expected'
388n/a
389n/a
390n/a _reply, _arguments, _attributes = self.send(_code, _subcode,
391n/a _arguments, _attributes)
392n/a if _arguments.get('errn', 0):
393n/a raise aetools.Error, aetools.decodeerror(_arguments)
394n/a # XXXX Optionally decode result
395n/a if _arguments.has_key('----'):
396n/a return _arguments['----']
397n/a
398n/a _argmap_save = {
399n/a 'in_' : 'kfil',
400n/a 'as' : 'fltp',
401n/a }
402n/a
403n/a def save(self, _object, _attributes={}, **_arguments):
404n/a """save: Save an object
405n/a Required argument: the object to save, usually a document or window
406n/a Keyword argument in_: the file or alias in which to save the object
407n/a Keyword argument as: the file type of the document in which to save the data
408n/a Keyword argument _attributes: AppleEvent attribute dictionary
409n/a """
410n/a _code = 'core'
411n/a _subcode = 'save'
412n/a
413n/a aetools.keysubst(_arguments, self._argmap_save)
414n/a _arguments['----'] = _object
415n/a
416n/a
417n/a _reply, _arguments, _attributes = self.send(_code, _subcode,
418n/a _arguments, _attributes)
419n/a if _arguments.get('errn', 0):
420n/a raise aetools.Error, aetools.decodeerror(_arguments)
421n/a # XXXX Optionally decode result
422n/a if _arguments.has_key('----'):
423n/a return _arguments['----']
424n/a
425n/a def select(self, _object, _attributes={}, **_arguments):
426n/a """select: Make a selection
427n/a Required argument: the object to select
428n/a Keyword argument _attributes: AppleEvent attribute dictionary
429n/a """
430n/a _code = 'misc'
431n/a _subcode = 'slct'
432n/a
433n/a if _arguments: raise TypeError, 'No optional args expected'
434n/a _arguments['----'] = _object
435n/a
436n/a
437n/a _reply, _arguments, _attributes = self.send(_code, _subcode,
438n/a _arguments, _attributes)
439n/a if _arguments.get('errn', 0):
440n/a raise aetools.Error, aetools.decodeerror(_arguments)
441n/a # XXXX Optionally decode result
442n/a if _arguments.has_key('----'):
443n/a return _arguments['----']
444n/a
445n/a _argmap_suite_info = {
446n/a 'in_' : 'wrcd',
447n/a }
448n/a
449n/a def suite_info(self, _object, _attributes={}, **_arguments):
450n/a """suite info: (optional) Get information about event suite(s)
451n/a Required argument: the suite for which to return information
452n/a Keyword argument in_: the human language and script system in which to return information
453n/a Keyword argument _attributes: AppleEvent attribute dictionary
454n/a Returns: a record containing the suites and their versions
455n/a """
456n/a _code = 'core'
457n/a _subcode = 'gtsi'
458n/a
459n/a aetools.keysubst(_arguments, self._argmap_suite_info)
460n/a _arguments['----'] = _object
461n/a
462n/a
463n/a _reply, _arguments, _attributes = self.send(_code, _subcode,
464n/a _arguments, _attributes)
465n/a if _arguments.get('errn', 0):
466n/a raise aetools.Error, aetools.decodeerror(_arguments)
467n/a # XXXX Optionally decode result
468n/a if _arguments.has_key('----'):
469n/a return _arguments['----']
470n/a
471n/a
472n/aclass alias(aetools.ComponentItem):
473n/a """alias - a file on a disk or server. The file must exist when you check the syntax of your script. """
474n/a want = 'alis'
475n/aclass _Prop_POSIX_path(aetools.NProperty):
476n/a """POSIX path - the POSIX path of the file """
477n/a which = 'psxp'
478n/a want = 'TEXT'
479n/a
480n/aaliases = alias
481n/a
482n/aclass application(aetools.ComponentItem):
483n/a """application - An application program """
484n/a want = 'capp'
485n/aclass _Prop_clipboard(aetools.NProperty):
486n/a """clipboard - the contents of the clipboard for this application """
487n/a which = 'pcli'
488n/a want = '****'
489n/aclipboard = _Prop_clipboard()
490n/aclass _Prop_frontmost(aetools.NProperty):
491n/a """frontmost - Is this the frontmost application? """
492n/a which = 'pisf'
493n/a want = 'bool'
494n/afrontmost = _Prop_frontmost()
495n/aclass _Prop_name(aetools.NProperty):
496n/a """name - the name of the application """
497n/a which = 'pnam'
498n/a want = 'itxt'
499n/aname = _Prop_name()
500n/aclass _Prop_selection(aetools.NProperty):
501n/a """selection - the selection visible to the user. Use the \xd4select\xd5 command to set a new selection; use \xd4contents of selection\xd5 to get or change information in the document. """
502n/a which = 'sele'
503n/a want = 'csel'
504n/aselection = _Prop_selection()
505n/aclass _Prop_version(aetools.NProperty):
506n/a """version - the version of the application """
507n/a which = 'vers'
508n/a want = 'vers'
509n/aversion = _Prop_version()
510n/a
511n/aapplications = application
512n/a
513n/aclass insertion_points(aetools.ComponentItem):
514n/a """insertion points - """
515n/a want = 'cins'
516n/a
517n/ainsertion_point = insertion_points
518n/a
519n/aclass selection_2d_object(aetools.ComponentItem):
520n/a """selection-object - A way to refer to the state of the current of the selection. Use the \xd4select\xd5 command to make a new selection. """
521n/a want = 'csel'
522n/aclass _Prop_contents(aetools.NProperty):
523n/a """contents - the information currently selected. Use \xd4contents of selection\xd5 to get or change information in a document. """
524n/a which = 'pcnt'
525n/a want = '****'
526n/a
527n/aclass window(aetools.ComponentItem):
528n/a """window - A window """
529n/a want = 'cwin'
530n/aclass _Prop_bounds(aetools.NProperty):
531n/a """bounds - the boundary rectangle for the window """
532n/a which = 'pbnd'
533n/a want = 'qdrt'
534n/aclass _Prop_closeable(aetools.NProperty):
535n/a """closeable - Does the window have a close box? """
536n/a which = 'hclb'
537n/a want = 'bool'
538n/aclass _Prop_floating(aetools.NProperty):
539n/a """floating - Does the window float? """
540n/a which = 'isfl'
541n/a want = 'bool'
542n/aclass _Prop_index(aetools.NProperty):
543n/a """index - the number of the window """
544n/a which = 'pidx'
545n/a want = 'long'
546n/aclass _Prop_modal(aetools.NProperty):
547n/a """modal - Is the window modal? """
548n/a which = 'pmod'
549n/a want = 'bool'
550n/aclass _Prop_resizable(aetools.NProperty):
551n/a """resizable - Is the window resizable? """
552n/a which = 'prsz'
553n/a want = 'bool'
554n/aclass _Prop_titled(aetools.NProperty):
555n/a """titled - Does the window have a title bar? """
556n/a which = 'ptit'
557n/a want = 'bool'
558n/aclass _Prop_visible(aetools.NProperty):
559n/a """visible - Is the window visible? """
560n/a which = 'pvis'
561n/a want = 'bool'
562n/aclass _Prop_zoomable(aetools.NProperty):
563n/a """zoomable - Is the window zoomable? """
564n/a which = 'iszm'
565n/a want = 'bool'
566n/aclass _Prop_zoomed(aetools.NProperty):
567n/a """zoomed - Is the window zoomed? """
568n/a which = 'pzum'
569n/a want = 'bool'
570n/a
571n/awindows = window
572n/a
573n/aclass document(aetools.ComponentItem):
574n/a """document - A document of a scriptable application """
575n/a want = 'docu'
576n/aclass _Prop_modified(aetools.NProperty):
577n/a """modified - Has the document been modified since the last save? """
578n/a which = 'imod'
579n/a want = 'bool'
580n/a
581n/adocuments = document
582n/a
583n/aclass file(aetools.ComponentItem):
584n/a """file - a file on a disk or server """
585n/a want = 'file'
586n/a
587n/afiles = file
588n/aalias._superclassnames = []
589n/aalias._privpropdict = {
590n/a 'POSIX_path' : _Prop_POSIX_path,
591n/a}
592n/aalias._privelemdict = {
593n/a}
594n/aapplication._superclassnames = []
595n/aapplication._privpropdict = {
596n/a 'clipboard' : _Prop_clipboard,
597n/a 'frontmost' : _Prop_frontmost,
598n/a 'name' : _Prop_name,
599n/a 'selection' : _Prop_selection,
600n/a 'version' : _Prop_version,
601n/a}
602n/aapplication._privelemdict = {
603n/a}
604n/ainsertion_points._superclassnames = []
605n/ainsertion_points._privpropdict = {
606n/a}
607n/ainsertion_points._privelemdict = {
608n/a}
609n/aselection_2d_object._superclassnames = []
610n/aselection_2d_object._privpropdict = {
611n/a 'contents' : _Prop_contents,
612n/a}
613n/aselection_2d_object._privelemdict = {
614n/a}
615n/awindow._superclassnames = []
616n/awindow._privpropdict = {
617n/a 'bounds' : _Prop_bounds,
618n/a 'closeable' : _Prop_closeable,
619n/a 'floating' : _Prop_floating,
620n/a 'index' : _Prop_index,
621n/a 'modal' : _Prop_modal,
622n/a 'resizable' : _Prop_resizable,
623n/a 'titled' : _Prop_titled,
624n/a 'visible' : _Prop_visible,
625n/a 'zoomable' : _Prop_zoomable,
626n/a 'zoomed' : _Prop_zoomed,
627n/a}
628n/awindow._privelemdict = {
629n/a}
630n/adocument._superclassnames = []
631n/adocument._privpropdict = {
632n/a 'modified' : _Prop_modified,
633n/a}
634n/adocument._privelemdict = {
635n/a}
636n/afile._superclassnames = []
637n/afile._privpropdict = {
638n/a 'POSIX_path' : _Prop_POSIX_path,
639n/a}
640n/afile._privelemdict = {
641n/a}
642n/aclass _3c_(aetools.NComparison):
643n/a """< - Less than """
644n/aclass _3d_(aetools.NComparison):
645n/a """= - Equal """
646n/aclass _3e_(aetools.NComparison):
647n/a """> - Greater than """
648n/aclass contains(aetools.NComparison):
649n/a """contains - Contains """
650n/aclass ends_with(aetools.NComparison):
651n/a """ends with - Ends with """
652n/aclass starts_with(aetools.NComparison):
653n/a """starts with - Starts with """
654n/aclass _b2_(aetools.NComparison):
655n/a """\xb2 - Less than or equal to """
656n/aclass _b3_(aetools.NComparison):
657n/a """\xb3 - Greater than or equal to """
658n/a_Enum_kfrm = {
659n/a 'index' : 'indx', # keyform designating indexed access
660n/a 'named' : 'name', # keyform designating named access
661n/a 'id' : 'ID ', # keyform designating access by unique identifier
662n/a}
663n/a
664n/a_Enum_savo = {
665n/a 'yes' : 'yes ', # Save objects now
666n/a 'no' : 'no ', # Do not save objects
667n/a 'ask' : 'ask ', # Ask the user whether to save
668n/a}
669n/a
670n/a_Enum_styl = {
671n/a 'plain' : 'plan', # Plain
672n/a 'bold' : 'bold', # Bold
673n/a 'italic' : 'ital', # Italic
674n/a 'outline' : 'outl', # Outline
675n/a 'shadow' : 'shad', # Shadow
676n/a 'underline' : 'undl', # Underline
677n/a 'superscript' : 'spsc', # Superscript
678n/a 'subscript' : 'sbsc', # Subscript
679n/a 'strikethrough' : 'strk', # Strikethrough
680n/a 'small_caps' : 'smcp', # Small caps
681n/a 'all_caps' : 'alcp', # All capital letters
682n/a 'all_lowercase' : 'lowc', # Lowercase
683n/a 'condensed' : 'cond', # Condensed
684n/a 'expanded' : 'pexp', # Expanded
685n/a 'hidden' : 'hidn', # Hidden
686n/a}
687n/a
688n/a
689n/a#
690n/a# Indices of types declared in this module
691n/a#
692n/a_classdeclarations = {
693n/a 'alis' : alias,
694n/a 'capp' : application,
695n/a 'cins' : insertion_points,
696n/a 'csel' : selection_2d_object,
697n/a 'cwin' : window,
698n/a 'docu' : document,
699n/a 'file' : file,
700n/a}
701n/a
702n/a_propdeclarations = {
703n/a 'hclb' : _Prop_closeable,
704n/a 'imod' : _Prop_modified,
705n/a 'isfl' : _Prop_floating,
706n/a 'iszm' : _Prop_zoomable,
707n/a 'pbnd' : _Prop_bounds,
708n/a 'pcli' : _Prop_clipboard,
709n/a 'pcnt' : _Prop_contents,
710n/a 'pidx' : _Prop_index,
711n/a 'pisf' : _Prop_frontmost,
712n/a 'pmod' : _Prop_modal,
713n/a 'pnam' : _Prop_name,
714n/a 'prsz' : _Prop_resizable,
715n/a 'psxp' : _Prop_POSIX_path,
716n/a 'ptit' : _Prop_titled,
717n/a 'pvis' : _Prop_visible,
718n/a 'pzum' : _Prop_zoomed,
719n/a 'sele' : _Prop_selection,
720n/a 'vers' : _Prop_version,
721n/a}
722n/a
723n/a_compdeclarations = {
724n/a '< ' : _3c_,
725n/a '<= ' : _b2_,
726n/a '= ' : _3d_,
727n/a '> ' : _3e_,
728n/a '>= ' : _b3_,
729n/a 'bgwt' : starts_with,
730n/a 'cont' : contains,
731n/a 'ends' : ends_with,
732n/a}
733n/a
734n/a_enumdeclarations = {
735n/a 'kfrm' : _Enum_kfrm,
736n/a 'savo' : _Enum_savo,
737n/a 'styl' : _Enum_styl,
738n/a}