Skip to content

Commit 12d3307

Browse files
author
jackjansen
committed
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. git-svn-id: http://svn.python.org/projects/python/trunk@28491 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent c5c7a8e commit 12d3307

6 files changed

Lines changed: 152 additions & 269 deletions

File tree

Mac/Lib/Carbon/Balloons.py

Lines changed: 0 additions & 66 deletions
This file was deleted.

Mac/Lib/Carbon/MacHelp.py

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# Generated from 'MacHelp.h'
2+
3+
def FOUR_CHAR_CODE(x): return x
4+
kMacHelpVersion = 0x0003
5+
kHMSupplyContent = 0
6+
kHMDisposeContent = 1
7+
kHMNoContent = FOUR_CHAR_CODE('none')
8+
kHMCFStringContent = FOUR_CHAR_CODE('cfst')
9+
kHMPascalStrContent = FOUR_CHAR_CODE('pstr')
10+
kHMStringResContent = FOUR_CHAR_CODE('str#')
11+
kHMTEHandleContent = FOUR_CHAR_CODE('txth')
12+
kHMTextResContent = FOUR_CHAR_CODE('text')
13+
kHMStrResContent = FOUR_CHAR_CODE('str ')
14+
kHMDefaultSide = 0
15+
kHMOutsideTopScriptAligned = 1
16+
kHMOutsideLeftCenterAligned = 2
17+
kHMOutsideBottomScriptAligned = 3
18+
kHMOutsideRightCenterAligned = 4
19+
kHMOutsideTopLeftAligned = 5
20+
kHMOutsideTopRightAligned = 6
21+
kHMOutsideLeftTopAligned = 7
22+
kHMOutsideLeftBottomAligned = 8
23+
kHMOutsideBottomLeftAligned = 9
24+
kHMOutsideBottomRightAligned = 10
25+
kHMOutsideRightTopAligned = 11
26+
kHMOutsideRightBottomAligned = 12
27+
kHMOutsideTopCenterAligned = 13
28+
kHMOutsideBottomCenterAligned = 14
29+
kHMInsideRightCenterAligned = 15
30+
kHMInsideLeftCenterAligned = 16
31+
kHMInsideBottomCenterAligned = 17
32+
kHMInsideTopCenterAligned = 18
33+
kHMInsideTopLeftCorner = 19
34+
kHMInsideTopRightCorner = 20
35+
kHMInsideBottomLeftCorner = 21
36+
kHMInsideBottomRightCorner = 22
37+
kHMAbsoluteCenterAligned = 23
38+
kHMTopSide = kHMOutsideTopScriptAligned
39+
kHMLeftSide = kHMOutsideLeftCenterAligned
40+
kHMBottomSide = kHMOutsideBottomScriptAligned
41+
kHMRightSide = kHMOutsideRightCenterAligned
42+
kHMTopLeftCorner = kHMOutsideTopLeftAligned
43+
kHMTopRightCorner = kHMOutsideTopRightAligned
44+
kHMLeftTopCorner = kHMOutsideLeftTopAligned
45+
kHMLeftBottomCorner = kHMOutsideLeftBottomAligned
46+
kHMBottomLeftCorner = kHMOutsideBottomLeftAligned
47+
kHMBottomRightCorner = kHMOutsideBottomRightAligned
48+
kHMRightTopCorner = kHMOutsideRightTopAligned
49+
kHMRightBottomCorner = kHMOutsideRightBottomAligned
50+
kHMContentProvided = 0
51+
kHMContentNotProvided = 1
52+
kHMContentNotProvidedDontPropagate = 2
53+
kHMMinimumContentIndex = 0
54+
kHMMaximumContentIndex = 1
55+
errHMIllegalContentForMinimumState = -10980
56+
errHMIllegalContentForMaximumState = -10981
57+
kHMIllegalContentForMinimumState = errHMIllegalContentForMinimumState
58+
kHelpTagEventHandlerTag = FOUR_CHAR_CODE('hevt')

0 commit comments

Comments
 (0)