annotate Mac/Lib/MACFS.py @ 5817:48b94de85bf3 legacy-trunk

Extensive changes by AMK.
author Guido van Rossum <guido@python.org>
date Thu, 17 Jul 1997 16:29:42 +0000
parents 43ea2c8b3286
children 44356ee7e579
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3038
43ea2c8b3286 Constants useful when using macfs module
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
1 # MACFS.py - Constants used by macfs routines
43ea2c8b3286 Constants useful when using macfs module
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
2 # Derived from Finder.h and Folders.h
43ea2c8b3286 Constants useful when using macfs module
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
3
43ea2c8b3286 Constants useful when using macfs module
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
4 # Flags in FInfo.Flags field:
43ea2c8b3286 Constants useful when using macfs module
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
5 kIsOnDesk = 0x1
43ea2c8b3286 Constants useful when using macfs module
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
6 kColor = 0xE
43ea2c8b3286 Constants useful when using macfs module
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
7 kIsShared = 0x40
43ea2c8b3286 Constants useful when using macfs module
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
8 kHasBeenInited = 0x100
43ea2c8b3286 Constants useful when using macfs module
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
9 kHasCustomIcon = 0x400
43ea2c8b3286 Constants useful when using macfs module
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
10 kIsStationery = 0x800
43ea2c8b3286 Constants useful when using macfs module
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
11 kIsStationary = 0x800
43ea2c8b3286 Constants useful when using macfs module
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
12 kNameLocked = 0x1000
43ea2c8b3286 Constants useful when using macfs module
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
13 kHasBundle = 0x2000
43ea2c8b3286 Constants useful when using macfs module
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
14 kIsInvisible = 0x4000
43ea2c8b3286 Constants useful when using macfs module
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
15 kIsAlias = 0x8000
43ea2c8b3286 Constants useful when using macfs module
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
16
43ea2c8b3286 Constants useful when using macfs module
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
17 # Constants for FindFolder
43ea2c8b3286 Constants useful when using macfs module
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
18 kOnSystemDisk = 0x8000
43ea2c8b3286 Constants useful when using macfs module
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
19 kSystemFolderType = 'macs' # the system folder
43ea2c8b3286 Constants useful when using macfs module
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
20 kDesktopFolderType = 'desk' # the desktop folder; objects in this folder show on the desk top.
43ea2c8b3286 Constants useful when using macfs module
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
21 kTrashFolderType = 'trsh' # the trash folder; objects in this folder show up in the trash
43ea2c8b3286 Constants useful when using macfs module
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
22 kWhereToEmptyTrashFolderType = 'empt' # the "empty trash" folder; Finder starts empty from here down
43ea2c8b3286 Constants useful when using macfs module
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
23 kPrintMonitorDocsFolderType = 'prnt' # Print Monitor documents
43ea2c8b3286 Constants useful when using macfs module
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
24 kStartupFolderType = 'strt' # Finder objects (applications, documents, DAs, aliases, to...) to open at startup go here
43ea2c8b3286 Constants useful when using macfs module
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
25 kAppleMenuFolderType = 'amnu' # Finder objects to put into the Apple menu go here
43ea2c8b3286 Constants useful when using macfs module
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
26 kControlPanelFolderType = 'ctrl' # Control Panels go here (may contain INITs)
43ea2c8b3286 Constants useful when using macfs module
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
27 kExtensionFolderType = 'extn' # Finder extensions go here
43ea2c8b3286 Constants useful when using macfs module
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
28 kFontsFolderType = 'font' # Fonts go here
43ea2c8b3286 Constants useful when using macfs module
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
29 kPreferencesFolderType = 'pref' # preferences for applications go here
43ea2c8b3286 Constants useful when using macfs module
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
30 kTemporaryFolderType = 'temp'