37. Mac OS X specific services¶
This chapter describes modules that are only available on the Mac OS X platform.
See the chapters MacPython OSA Modules and Undocumented Mac OS modules for more modules, and the HOWTO 在苹果系统上使用 Python for a general introduction to Mac-specific Python programming.
注解
Most of the OS X APIs that these modules use are deprecated or removed in recent versions of OS X. Many are not available when Python is executing in 64-bit mode. These modules have been removed in Python 3. You should avoid using them in Python 2.
- 37.1.
ic
— Access to the Mac OS X Internet Config - 37.2.
MacOS
— Access to Mac OS interpreter features - 37.3.
macostools
— Convenience routines for file manipulation - 37.4.
findertools
— The finder’s Apple Events interface - 37.5.
EasyDialogs
— Basic Macintosh dialogs - 37.6.
FrameWork
— Interactive application framework - 37.7.
autoGIL
— Global Interpreter Lock handling in event loops - 37.8. Mac OS Toolbox Modules
- 37.8.1.
Carbon.AE
— Apple Events - 37.8.2.
Carbon.AH
— Apple Help - 37.8.3.
Carbon.App
— Appearance Manager - 37.8.4.
Carbon.Appearance
— Appearance Manager constants - 37.8.5.
Carbon.CF
— Core Foundation - 37.8.6.
Carbon.CG
— Core Graphics - 37.8.7.
Carbon.CarbonEvt
— Carbon Event Manager - 37.8.8.
Carbon.CarbonEvents
— Carbon Event Manager constants - 37.8.9.
Carbon.Cm
— Component Manager - 37.8.10.
Carbon.Components
— Component Manager constants - 37.8.11.
Carbon.ControlAccessor
— Control Manager accssors - 37.8.12.
Carbon.Controls
— Control Manager constants - 37.8.13.
Carbon.CoreFounation
— CoreFounation constants - 37.8.14.
Carbon.CoreGraphics
— CoreGraphics constants - 37.8.15.
Carbon.Ctl
— Control Manager - 37.8.16.
Carbon.Dialogs
— Dialog Manager constants - 37.8.17.
Carbon.Dlg
— Dialog Manager - 37.8.18.
Carbon.Drag
— Drag and Drop Manager - 37.8.19.
Carbon.Dragconst
— Drag and Drop Manager constants - 37.8.20.
Carbon.Events
— Event Manager constants - 37.8.21.
Carbon.Evt
— Event Manager - 37.8.22.
Carbon.File
— File Manager - 37.8.23.
Carbon.Files
— File Manager constants - 37.8.24.
Carbon.Fm
— Font Manager - 37.8.25.
Carbon.Folder
— Folder Manager - 37.8.26.
Carbon.Folders
— Folder Manager constants - 37.8.27.
Carbon.Fonts
— Font Manager constants - 37.8.28.
Carbon.Help
— Help Manager - 37.8.29.
Carbon.IBCarbon
— Carbon InterfaceBuilder - 37.8.30.
Carbon.IBCarbonRuntime
— Carbon InterfaceBuilder constants - 37.8.31.
Carbon.Icn
— Carbon Icon Manager - 37.8.32.
Carbon.Icons
— Carbon Icon Manager constants - 37.8.33.
Carbon.Launch
— Carbon Launch Services - 37.8.34.
Carbon.LaunchServices
— Carbon Launch Services constants - 37.8.35.
Carbon.List
— List Manager - 37.8.36.
Carbon.Lists
— List Manager constants - 37.8.37.
Carbon.MacHelp
— Help Manager constants - 37.8.38.
Carbon.MediaDescr
— Parsers and generators for Quicktime Media descriptors - 37.8.39.
Carbon.Menu
— Menu Manager - 37.8.40.
Carbon.Menus
— Menu Manager constants - 37.8.41.
Carbon.Mlte
— MultiLingual Text Editor - 37.8.42.
Carbon.OSA
— Carbon OSA Interface - 37.8.43.
Carbon.OSAconst
— Carbon OSA Interface constants - 37.8.44.
Carbon.QDOffscreen
— QuickDraw Offscreen constants - 37.8.45.
Carbon.Qd
— QuickDraw - 37.8.46.
Carbon.Qdoffs
— QuickDraw Offscreen - 37.8.47.
Carbon.Qt
— QuickTime - 37.8.48.
Carbon.QuickDraw
— QuickDraw constants - 37.8.49.
Carbon.QuickTime
— QuickTime constants - 37.8.50.
Carbon.Res
— Resource Manager and Handles - 37.8.51.
Carbon.Resources
— Resource Manager and Handles constants - 37.8.52.
Carbon.Scrap
— Scrap Manager - 37.8.53.
Carbon.Snd
— Sound Manager - 37.8.54.
Carbon.Sound
— Sound Manager constants - 37.8.55.
Carbon.TE
— TextEdit - 37.8.56.
Carbon.TextEdit
— TextEdit constants - 37.8.57.
Carbon.Win
— Window Manager - 37.8.58.
Carbon.Windows
— Window Manager constants
- 37.8.1.
- 37.9.
ColorPicker
— Color selection dialog