home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C / Applications / Python 1.3 / source code / Mac / pythonresources.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-12-17  |  1.7 KB  |  66 lines  |  [TEXT/R*ch]

  1. /*
  2. ** Resource-IDs in use by Python.
  3. **
  4. ** All resources used by the python interpreter itself fall
  5. ** in the range 128-256.
  6. **
  7. ** Standard python modules use resources in the range
  8. ** 256-512.
  9. **
  10. ** Python programs that use their own resources are advised to
  11. ** choose resource numbers higher than 512.
  12. */
  13.  
  14. /*
  15. ** Resources that reside in the python executable (or, for
  16. ** shared ppc python, in the core dynamic library)
  17. */
  18.  
  19. /* The alert for "No Python directory, where is it?" (OBSOLETE) */
  20. #define NOPYTHON_ALERT    128
  21. #define YES_ITEM        1
  22. #define NO_ITEM            2
  23. #define CURWD_ITEM        3
  24.  
  25. /* The alert for "this is an applet template" */
  26. #define NOPYC_ALERT        129
  27.  
  28. /* The dialog for our GetDirectory and PromptGetFile call */
  29. #define GETDIR_ID         130        /* Resource ID for our "get directory" */
  30. #define GETFILEPROMPT_ID 132    /* Resource id for prompted get file */
  31. #define PROMPT_ITEM        10        /* The prompt, at the top */
  32. #define SELECTCUR_ITEM    11    /* "Select current directory" button */
  33.  
  34.  
  35. /* The dialog for interactive options */
  36. #define OPT_DIALOG        131        /* Resource ID for dialog */
  37. #define OPT_OK            1
  38. #define OPT_CANCEL        2
  39. #define OPT_INSPECT        3
  40. #define OPT_VERBOSE        4
  41. #define OPT_SUPPRESS    5
  42. #define OPT_UNBUFFERED    6
  43. #define OPT_DEBUGGING    7
  44.  
  45. /* Dialog for 'No preferences directory' */
  46. #define NOPREFDIR_ID    133
  47.  
  48. /* Dialog for 'Create preferences file?' */
  49. #define NOPREFFILE_ID    134
  50. #define NOPREFFILE_YES    1
  51. #define NOPREFFILE_NO    2
  52.  
  53. /* Dialog for 'Bad preference file' */
  54. #define BADPREFFILE_ID    135
  55.  
  56. /*
  57. ** The following are valid both in the binary (or shared library)
  58. ** and in the Preferences file
  59. */
  60.  
  61. /* The STR# resource for sys.path initialization */
  62. #define PYTHONPATH_ID 128
  63.  
  64. /* The alis resource for locating the python home directory */
  65. #define PYTHONHOME_ID 128
  66.