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

Python code coverage for Lib/plat-mac/lib-scriptpackages/Finder/Type_Definitions.py

#countcontent
1n/a"""Suite Type Definitions: Definitions of records used in scripting the Finder
2n/aLevel 1, version 1
3n/a
4n/aGenerated from /System/Library/CoreServices/Finder.app
5n/aAETE/AEUT resource version 0/144, language 0, script 0
6n/a"""
7n/a
8n/aimport aetools
9n/aimport MacOS
10n/a
11n/a_code = 'tpdf'
12n/a
13n/aclass Type_Definitions_Events:
14n/a
15n/a pass
16n/a
17n/a
18n/aclass alias_list(aetools.ComponentItem):
19n/a """alias list - A list of aliases. Use \xd4as alias list\xd5 when a list of aliases is needed (instead of a list of file system item references). """
20n/a want = 'alst'
21n/a
22n/aclass label(aetools.ComponentItem):
23n/a """label - (NOT AVAILABLE YET) A Finder label (name and color) """
24n/a want = 'clbl'
25n/aclass _Prop_color(aetools.NProperty):
26n/a """color - the color associated with the label """
27n/a which = 'colr'
28n/a want = 'cRGB'
29n/aclass _Prop_index(aetools.NProperty):
30n/a """index - the index in the front-to-back ordering within its container """
31n/a which = 'pidx'
32n/a want = 'long'
33n/aclass _Prop_name(aetools.NProperty):
34n/a """name - the name associated with the label """
35n/a which = 'pnam'
36n/a want = 'utxt'
37n/a
38n/aclass preferences(aetools.ComponentItem):
39n/a """preferences - (NOT AVAILABLE, SUBJECT TO CHANGE) The Finder Preferences """
40n/a want = 'cprf'
41n/aclass _Prop_button_view_arrangement(aetools.NProperty):
42n/a """button view arrangement - the method of arrangement of icons in default Finder button view windows """
43n/a which = 'barr'
44n/a want = 'earr'
45n/aclass _Prop_button_view_icon_size(aetools.NProperty):
46n/a """button view icon size - the size of icons displayed in Finder button view windows. """
47n/a which = 'bisz'
48n/a want = 'long'
49n/aclass _Prop_calculates_folder_sizes(aetools.NProperty):
50n/a """calculates folder sizes - Are folder sizes calculated and displayed in Finder list view windows? """
51n/a which = 'sfsz'
52n/a want = 'bool'
53n/aclass _Prop_delay_before_springing(aetools.NProperty):
54n/a """delay before springing - the delay before springing open a container in ticks (1/60th of a second) (12 is shortest delay, 60 is longest delay) """
55n/a which = 'dela'
56n/a want = 'shor'
57n/aclass _Prop_list_view_icon_size(aetools.NProperty):
58n/a """list view icon size - the size of icons displayed in Finder list view windows. """
59n/a which = 'lisz'
60n/a want = 'long'
61n/aclass _Prop_shows_comments(aetools.NProperty):
62n/a """shows comments - Are comments displayed in default Finder list view windows? """
63n/a which = 'scom'
64n/a want = 'bool'
65n/aclass _Prop_shows_creation_date(aetools.NProperty):
66n/a """shows creation date - Are creation dates displayed in default Finder list view windows? """
67n/a which = 'scda'
68n/a want = 'bool'
69n/aclass _Prop_shows_kind(aetools.NProperty):
70n/a """shows kind - Are document kinds displayed in default Finder list view windows? """
71n/a which = 'sknd'
72n/a want = 'bool'
73n/aclass _Prop_shows_label(aetools.NProperty):
74n/a """shows label - Are labels displayed in default Finder list view windows? """
75n/a which = 'slbl'
76n/a want = 'bool'
77n/aclass _Prop_shows_modification_date(aetools.NProperty):
78n/a """shows modification date - Are modification dates displayed in default Finder list view windows? """
79n/a which = 'sdat'
80n/a want = 'bool'
81n/aclass _Prop_shows_size(aetools.NProperty):
82n/a """shows size - Are file sizes displayed in default Finder list view windows? """
83n/a which = 'ssiz'
84n/a want = 'bool'
85n/aclass _Prop_shows_version(aetools.NProperty):
86n/a """shows version - Are file versions displayed in default Finder list view windows? """
87n/a which = 'svrs'
88n/a want = 'bool'
89n/aclass _Prop_spatial_view_arrangement(aetools.NProperty):
90n/a """spatial view arrangement - the method of arrangement of icons in default Finder spatial view windows """
91n/a which = 'iarr'
92n/a want = 'earr'
93n/aclass _Prop_spatial_view_icon_size(aetools.NProperty):
94n/a """spatial view icon size - the size of icons displayed in Finder spatial view windows. """
95n/a which = 'iisz'
96n/a want = 'long'
97n/aclass _Prop_spring_open_folders(aetools.NProperty):
98n/a """spring open folders - Spring open folders after the specified delay? """
99n/a which = 'sprg'
100n/a want = 'bool'
101n/aclass _Prop_uses_relative_dates(aetools.NProperty):
102n/a """uses relative dates - Are relative dates (e.g., today, yesterday) shown in Finder list view windows? """
103n/a which = 'urdt'
104n/a want = 'bool'
105n/aclass _Prop_uses_simple_menus(aetools.NProperty):
106n/a """uses simple menus - Use simplified Finder menus? """
107n/a which = 'usme'
108n/a want = 'bool'
109n/aclass _Prop_uses_wide_grid(aetools.NProperty):
110n/a """uses wide grid - Space icons on a wide grid? """
111n/a which = 'uswg'
112n/a want = 'bool'
113n/aclass _Prop_view_font(aetools.NProperty):
114n/a """view font - the id of the font used in Finder views. """
115n/a which = 'vfnt'
116n/a want = 'long'
117n/aclass _Prop_view_font_size(aetools.NProperty):
118n/a """view font size - the size of the font used in Finder views """
119n/a which = 'vfsz'
120n/a want = 'long'
121n/aclass _Prop_window(aetools.NProperty):
122n/a """window - the window that would open if Finder preferences was opened """
123n/a which = 'cwin'
124n/a want = 'pwnd'
125n/a# element 'clbl' as ['indx', 'name']
126n/a
127n/aclass icon_view_options(aetools.ComponentItem):
128n/a """icon view options - the icon view options """
129n/a want = 'icop'
130n/a
131n/a_Prop_arrangement = _Prop_spatial_view_arrangement
132n/aclass _Prop_icon_size(aetools.NProperty):
133n/a """icon size - the size of icons displayed in the icon view """
134n/a which = 'lvis'
135n/a want = 'shor'
136n/a
137n/aclass icon_family(aetools.ComponentItem):
138n/a """icon family - (NOT AVAILABLE YET) A family of icons """
139n/a want = 'ifam'
140n/aclass _Prop_large_32_bit_icon(aetools.NProperty):
141n/a """large 32 bit icon - the large 32-bit color icon """
142n/a which = 'il32'
143n/a want = 'il32'
144n/aclass _Prop_large_4_bit_icon(aetools.NProperty):
145n/a """large 4 bit icon - the large 4-bit color icon """
146n/a which = 'icl4'
147n/a want = 'icl4'
148n/aclass _Prop_large_8_bit_icon(aetools.NProperty):
149n/a """large 8 bit icon - the large 8-bit color icon """
150n/a which = 'icl8'
151n/a want = 'icl8'
152n/aclass _Prop_large_8_bit_mask(aetools.NProperty):
153n/a """large 8 bit mask - the large 8-bit mask for large 32-bit icons """
154n/a which = 'l8mk'
155n/a want = 'l8mk'
156n/aclass _Prop_large_monochrome_icon_and_mask(aetools.NProperty):
157n/a """large monochrome icon and mask - the large black-and-white icon and the mask for large icons """
158n/a which = 'ICN#'
159n/a want = 'ICN#'
160n/aclass _Prop_small_32_bit_icon(aetools.NProperty):
161n/a """small 32 bit icon - the small 32-bit color icon """
162n/a which = 'is32'
163n/a want = 'is32'
164n/aclass _Prop_small_4_bit_icon(aetools.NProperty):
165n/a """small 4 bit icon - the small 4-bit color icon """
166n/a which = 'ics4'
167n/a want = 'ics4'
168n/aclass _Prop_small_8_bit_icon(aetools.NProperty):
169n/a """small 8 bit icon - the small 8-bit color icon """
170n/a which = 'ics8'
171n/a want = 'ics8'
172n/a
173n/a_Prop_small_8_bit_mask = _Prop_small_8_bit_icon
174n/aclass _Prop_small_monochrome_icon_and_mask(aetools.NProperty):
175n/a """small monochrome icon and mask - the small black-and-white icon and the mask for small icons """
176n/a which = 'ics#'
177n/a want = 'ics#'
178n/a
179n/aclass column(aetools.ComponentItem):
180n/a """column - a column of a list view """
181n/a want = 'lvcl'
182n/aclass _Prop_sort_direction(aetools.NProperty):
183n/a """sort direction - The direction in which the window is sorted """
184n/a which = 'sord'
185n/a want = 'sodr'
186n/aclass _Prop_visible(aetools.NProperty):
187n/a """visible - is this column visible """
188n/a which = 'pvis'
189n/a want = 'bool'
190n/aclass _Prop_width(aetools.NProperty):
191n/a """width - the width of this column """
192n/a which = 'clwd'
193n/a want = 'shor'
194n/a
195n/acolumns = column
196n/a
197n/aclass list_view_options(aetools.ComponentItem):
198n/a """list view options - the list view options """
199n/a want = 'lvop'
200n/aclass _Prop_sort_column(aetools.NProperty):
201n/a """sort column - the column that the list view is sorted on """
202n/a which = 'srtc'
203n/a want = 'lvcl'
204n/a# element 'lvcl' as ['indx', 'rele', 'rang', 'test']
205n/aalias_list._superclassnames = []
206n/aalias_list._privpropdict = {
207n/a}
208n/aalias_list._privelemdict = {
209n/a}
210n/alabel._superclassnames = []
211n/alabel._privpropdict = {
212n/a 'color' : _Prop_color,
213n/a 'index' : _Prop_index,
214n/a 'name' : _Prop_name,
215n/a}
216n/alabel._privelemdict = {
217n/a}
218n/apreferences._superclassnames = []
219n/apreferences._privpropdict = {
220n/a 'button_view_arrangement' : _Prop_button_view_arrangement,
221n/a 'button_view_icon_size' : _Prop_button_view_icon_size,
222n/a 'calculates_folder_sizes' : _Prop_calculates_folder_sizes,
223n/a 'delay_before_springing' : _Prop_delay_before_springing,
224n/a 'list_view_icon_size' : _Prop_list_view_icon_size,
225n/a 'shows_comments' : _Prop_shows_comments,
226n/a 'shows_creation_date' : _Prop_shows_creation_date,
227n/a 'shows_kind' : _Prop_shows_kind,
228n/a 'shows_label' : _Prop_shows_label,
229n/a 'shows_modification_date' : _Prop_shows_modification_date,
230n/a 'shows_size' : _Prop_shows_size,
231n/a 'shows_version' : _Prop_shows_version,
232n/a 'spatial_view_arrangement' : _Prop_spatial_view_arrangement,
233n/a 'spatial_view_icon_size' : _Prop_spatial_view_icon_size,
234n/a 'spring_open_folders' : _Prop_spring_open_folders,
235n/a 'uses_relative_dates' : _Prop_uses_relative_dates,
236n/a 'uses_simple_menus' : _Prop_uses_simple_menus,
237n/a 'uses_wide_grid' : _Prop_uses_wide_grid,
238n/a 'view_font' : _Prop_view_font,
239n/a 'view_font_size' : _Prop_view_font_size,
240n/a 'window' : _Prop_window,
241n/a}
242n/apreferences._privelemdict = {
243n/a 'label' : label,
244n/a}
245n/aicon_view_options._superclassnames = []
246n/aicon_view_options._privpropdict = {
247n/a 'arrangement' : _Prop_arrangement,
248n/a 'icon_size' : _Prop_icon_size,
249n/a}
250n/aicon_view_options._privelemdict = {
251n/a}
252n/aicon_family._superclassnames = []
253n/aicon_family._privpropdict = {
254n/a 'large_32_bit_icon' : _Prop_large_32_bit_icon,
255n/a 'large_4_bit_icon' : _Prop_large_4_bit_icon,
256n/a 'large_8_bit_icon' : _Prop_large_8_bit_icon,
257n/a 'large_8_bit_mask' : _Prop_large_8_bit_mask,
258n/a 'large_monochrome_icon_and_mask' : _Prop_large_monochrome_icon_and_mask,
259n/a 'small_32_bit_icon' : _Prop_small_32_bit_icon,
260n/a 'small_4_bit_icon' : _Prop_small_4_bit_icon,
261n/a 'small_8_bit_icon' : _Prop_small_8_bit_icon,
262n/a 'small_8_bit_mask' : _Prop_small_8_bit_mask,
263n/a 'small_monochrome_icon_and_mask' : _Prop_small_monochrome_icon_and_mask,
264n/a}
265n/aicon_family._privelemdict = {
266n/a}
267n/acolumn._superclassnames = []
268n/acolumn._privpropdict = {
269n/a 'index' : _Prop_index,
270n/a 'name' : _Prop_name,
271n/a 'sort_direction' : _Prop_sort_direction,
272n/a 'visible' : _Prop_visible,
273n/a 'width' : _Prop_width,
274n/a}
275n/acolumn._privelemdict = {
276n/a}
277n/alist_view_options._superclassnames = []
278n/alist_view_options._privpropdict = {
279n/a 'calculates_folder_sizes' : _Prop_calculates_folder_sizes,
280n/a 'icon_size' : _Prop_icon_size,
281n/a 'sort_column' : _Prop_sort_column,
282n/a 'uses_relative_dates' : _Prop_uses_relative_dates,
283n/a}
284n/alist_view_options._privelemdict = {
285n/a 'column' : column,
286n/a}
287n/a
288n/a#
289n/a# Indices of types declared in this module
290n/a#
291n/a_classdeclarations = {
292n/a 'alst' : alias_list,
293n/a 'clbl' : label,
294n/a 'cprf' : preferences,
295n/a 'icop' : icon_view_options,
296n/a 'ifam' : icon_family,
297n/a 'lvcl' : column,
298n/a 'lvop' : list_view_options,
299n/a}
300n/a
301n/a_propdeclarations = {
302n/a 'ICN#' : _Prop_large_monochrome_icon_and_mask,
303n/a 'barr' : _Prop_button_view_arrangement,
304n/a 'bisz' : _Prop_button_view_icon_size,
305n/a 'clwd' : _Prop_width,
306n/a 'colr' : _Prop_color,
307n/a 'cwin' : _Prop_window,
308n/a 'dela' : _Prop_delay_before_springing,
309n/a 'iarr' : _Prop_spatial_view_arrangement,
310n/a 'icl4' : _Prop_large_4_bit_icon,
311n/a 'icl8' : _Prop_large_8_bit_icon,
312n/a 'ics#' : _Prop_small_monochrome_icon_and_mask,
313n/a 'ics4' : _Prop_small_4_bit_icon,
314n/a 'ics8' : _Prop_small_8_bit_icon,
315n/a 'iisz' : _Prop_spatial_view_icon_size,
316n/a 'il32' : _Prop_large_32_bit_icon,
317n/a 'is32' : _Prop_small_32_bit_icon,
318n/a 'l8mk' : _Prop_large_8_bit_mask,
319n/a 'lisz' : _Prop_list_view_icon_size,
320n/a 'lvis' : _Prop_icon_size,
321n/a 'pidx' : _Prop_index,
322n/a 'pnam' : _Prop_name,
323n/a 'pvis' : _Prop_visible,
324n/a 'scda' : _Prop_shows_creation_date,
325n/a 'scom' : _Prop_shows_comments,
326n/a 'sdat' : _Prop_shows_modification_date,
327n/a 'sfsz' : _Prop_calculates_folder_sizes,
328n/a 'sknd' : _Prop_shows_kind,
329n/a 'slbl' : _Prop_shows_label,
330n/a 'sord' : _Prop_sort_direction,
331n/a 'sprg' : _Prop_spring_open_folders,
332n/a 'srtc' : _Prop_sort_column,
333n/a 'ssiz' : _Prop_shows_size,
334n/a 'svrs' : _Prop_shows_version,
335n/a 'urdt' : _Prop_uses_relative_dates,
336n/a 'usme' : _Prop_uses_simple_menus,
337n/a 'uswg' : _Prop_uses_wide_grid,
338n/a 'vfnt' : _Prop_view_font,
339n/a 'vfsz' : _Prop_view_font_size,
340n/a}
341n/a
342n/a_compdeclarations = {
343n/a}
344n/a
345n/a_enumdeclarations = {
346n/a}