Lines Matching refs:Carbon
24 from Carbon.Dlg import GetNewDialog, SetDialogItemText, GetDialogItemText, ModalDialog
25 from Carbon import Qd
26 from Carbon import QuickDraw
27 from Carbon import Dialogs
28 from Carbon import Windows
29 from Carbon import Dlg,Win,Evt,Events # sdm7g
30 from Carbon import Ctl
31 from Carbon import Controls
32 from Carbon import Menu
33 from Carbon import AE
37 from Carbon.ControlAccessor import * # Also import Controls constants
38 import Carbon.File
576 import Carbon.AppleEvents
577 import Carbon.AE
578 import Carbon.File
586 not isinstance(args['defaultLocation'], Carbon.AE.AEDesc):
588 if isinstance(defaultLocation, Carbon.File.FSSpec):
589 args['defaultLocation'] = Carbon.AE.AECreateDesc(
590 Carbon.AppleEvents.typeFSS, defaultLocation.data)
592 if not isinstance(defaultLocation, Carbon.File.FSRef):
593 defaultLocation = Carbon.File.FSRef(defaultLocation)
594 args['defaultLocation'] = Carbon.AE.AECreateDesc(
595 Carbon.AppleEvents.typeFSRef, defaultLocation.data)
596 if 'typeList' in args and not isinstance(args['typeList'], Carbon.Res.ResourceType):
604 args['typeList'] = Carbon.Res.Handle(data)
666 if issubclass(tpwanted, Carbon.File.FSRef):
668 if issubclass(tpwanted, Carbon.File.FSSpec):
719 if issubclass(tpwanted, Carbon.File.FSRef):
721 if issubclass(tpwanted, Carbon.File.FSSpec):
726 pardir_fss = Carbon.File.FSSpec((vrefnum, dirid, ''))
727 pardir_fsr = Carbon.File.FSRef(pardir_fss)
776 if issubclass(tpwanted, Carbon.File.FSRef):
778 if issubclass(tpwanted, Carbon.File.FSSpec):
809 rv = AskFileForOpen(message="Gimme a file, %s"%s, wanted=Carbon.File.FSSpec)
811 rv = AskFileForSave(wanted=Carbon.File.FSRef, savedFileName="%s.txt"%s)