diff options
| author | Jack Jansen <jack.jansen@cwi.nl> | 2002-08-29 21:09:00 (GMT) |
|---|---|---|
| committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-08-29 21:09:00 (GMT) |
| commit | 983258ed7e96897e00c7a4459034d83816018181 (patch) | |
| tree | 31117f49ebc283ef7affa094343af9c32e4b6ecb /Mac/Modules/help/helpscan.py | |
| parent | d94c28e467cc550cc09d082eb8bd078e4f2df2e4 (diff) | |
| download | cpython-983258ed7e96897e00c7a4459034d83816018181.zip cpython-983258ed7e96897e00c7a4459034d83816018181.tar.gz cpython-983258ed7e96897e00c7a4459034d83816018181.tar.bz2 | |
Revived the Carbon.Help module, but implementing the MacHelp API in stead
of the defunct Balloons API. Help tags are TBD, but at least this gives
us access to the help menu.
Diffstat (limited to 'Mac/Modules/help/helpscan.py')
| -rw-r--r-- | Mac/Modules/help/helpscan.py | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/Mac/Modules/help/helpscan.py b/Mac/Modules/help/helpscan.py index 67a7e53..32a759a 100644 --- a/Mac/Modules/help/helpscan.py +++ b/Mac/Modules/help/helpscan.py @@ -6,7 +6,7 @@ from bgenlocations import TOOLBOXDIR, BGENDIR sys.path.append(BGENDIR) from scantools import Scanner -LONG = "Balloons" +LONG = "MacHelp" SHORT = "help" OBJECT = "NOTUSED" @@ -45,15 +45,22 @@ class MyScanner(Scanner): def makeblacklisttypes(self): return [ - "TipFunctionUPP", - "HMMessageRecord", - "HMMessageRecord_ptr", +## "TipFunctionUPP", +## "HMMessageRecord", +## "HMMessageRecord_ptr", + "HMWindowContentUPP", + "HMMenuTitleContentUPP", + "HMControlContentUPP", + "HMMenuItemContentUPP", + # For the moment + "HMHelpContentRec", + "HMHelpContentRec_ptr", ] def makerepairinstructions(self): return [ - ([("WindowPtr", "*", "OutMode")], - [("ExistingWindowPtr", "*", "*")]), +## ([("WindowPtr", "*", "OutMode")], +## [("ExistingWindowPtr", "*", "*")]), ] if __name__ == "__main__": |
