/Lib/plat-mac/Carbon/MacHelp.py

http://unladen-swallow.googlecode.com/ · Python · 58 lines · 56 code · 1 blank · 1 comment · 0 complexity · 1cd0badf8f972d7eaab46b18c00a9013 MD5 · raw file

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