Mercurial > cpython-lru_cache-weakref
annotate Mac/Lib/toolbox/Controls.py @ 4566:6403c94de50d legacy-trunk
Added safeguard against failure in __del__.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 27 Nov 1996 19:39:58 +0000 |
| parents | 1640e3559b86 |
| children | 0f4193bd08d0 |
| rev | line source |
|---|---|
|
3928
1640e3559b86
Regenerated from CW9 includes (only QuickDraw really got a few new values)
Jack Jansen <jack.jansen@cwi.nl>
parents:
3265
diff
changeset
|
1 # Generated from 'flap:CW9 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Controls.h' |
| 2514 | 2 |
|
2267
7411b6a06920
Committed a more or less working version.
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
3 pushButProc = 0 |
|
7411b6a06920
Committed a more or less working version.
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
4 checkBoxProc = 1 |
|
7411b6a06920
Committed a more or less working version.
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
5 radioButProc = 2 |
|
2720
abf116db523f
Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents:
2514
diff
changeset
|
6 scrollBarProc = 16 |
|
abf116db523f
Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents:
2514
diff
changeset
|
7 popupMenuProc = 1008 |
|
2723
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
8 kControlUsesOwningWindowsFontVariant = 1 << 3 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
9 kControlNoPart = 0 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
10 kControlLabelPart = 1 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
11 kControlMenuPart = 2 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
12 kControlTrianglePart = 4 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
13 kControlButtonPart = 10 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
14 kControlCheckBoxPart = 11 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
15 kControlRadioButtonPart = 11 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
16 kControlUpButtonPart = 20 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
17 kControlDownButtonPart = 21 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
18 kControlPageUpPart = 22 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
19 kControlPageDownPart = 23 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
20 kControlIndicatorPart = 129 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
21 kControlDisabledPart = 254 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
22 kControlInactivePart = 255 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
23 kControlCheckboxUncheckedValue = 0 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
24 kControlCheckboxCheckedValue = 1 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
25 kControlCheckboxMixedValue = 2 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
26 kControlRadioButtonUncheckedValue = 0 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
27 kControlRadioButtonCheckedValue = 1 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
28 kControlRadioButtonMixedValue = 2 |
|
2720
abf116db523f
Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents:
2514
diff
changeset
|
29 popupFixedWidth = 1 << 0 |
|
abf116db523f
Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents:
2514
diff
changeset
|
30 popupVariableWidth = 1 << 1 |
|
abf116db523f
Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents:
2514
diff
changeset
|
31 popupUseAddResMenu = 1 << 2 |
|
2267
7411b6a06920
Committed a more or less working version.
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
32 popupUseWFont = 1 << 3 |
|
2720
abf116db523f
Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents:
2514
diff
changeset
|
33 popupTitleBold = 1 << 8 |
|
abf116db523f
Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents:
2514
diff
changeset
|
34 popupTitleItalic = 1 << 9 |
|
abf116db523f
Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents:
2514
diff
changeset
|
35 popupTitleUnderline = 1 << 10 |
|
2267
7411b6a06920
Committed a more or less working version.
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
36 popupTitleOutline = 1 << 11 |
|
2720
abf116db523f
Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents:
2514
diff
changeset
|
37 popupTitleShadow = 1 << 12 |
|
abf116db523f
Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents:
2514
diff
changeset
|
38 popupTitleCondense = 1 << 13 |
|
2267
7411b6a06920
Committed a more or less working version.
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
39 popupTitleExtend = 1 << 14 |
|
2720
abf116db523f
Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents:
2514
diff
changeset
|
40 popupTitleNoStyle = 1 << 15 |
|
2267
7411b6a06920
Committed a more or less working version.
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
41 popupTitleLeftJust = 0x00000000 |
|
7411b6a06920
Committed a more or less working version.
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
42 popupTitleCenterJust = 0x00000001 |
|
7411b6a06920
Committed a more or less working version.
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
43 popupTitleRightJust = 0x000000FF |
|
7411b6a06920
Committed a more or less working version.
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
44 hAxisOnly = 1 |
|
7411b6a06920
Committed a more or less working version.
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
45 vAxisOnly = 2 |
|
2723
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
46 cFrameColor = 0 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
47 cBodyColor = 1 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
48 cTextColor = 2 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
49 cThumbColor = 3 |
|
2267
7411b6a06920
Committed a more or less working version.
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
50 drawCntl = 0 |
|
7411b6a06920
Committed a more or less working version.
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
51 testCntl = 1 |
|
7411b6a06920
Committed a more or less working version.
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
52 calcCRgns = 2 |
|
7411b6a06920
Committed a more or less working version.
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
53 initCntl = 3 |
|
7411b6a06920
Committed a more or less working version.
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
54 dispCntl = 4 |
|
7411b6a06920
Committed a more or less working version.
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
55 posCntl = 5 |
|
7411b6a06920
Committed a more or less working version.
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
56 thumbCntl = 6 |
|
7411b6a06920
Committed a more or less working version.
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
57 dragCntl = 7 |
|
7411b6a06920
Committed a more or less working version.
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
58 autoTrack = 8 |
|
7411b6a06920
Committed a more or less working version.
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
59 calcCntlRgn = 10 |
|
7411b6a06920
Committed a more or less working version.
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
60 calcThumbRgn = 11 |
|
2720
abf116db523f
Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents:
2514
diff
changeset
|
61 drawThumbOutline = 12 |
|
2723
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
62 kDrawControlEntireControl = 0 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
63 kDrawControlIndicatorOnly = 129 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
64 kDragControlEntireControl = 0 |
|
3265
2f837d824120
Regenerated because of minor changes in universal headers
Jack Jansen <jack.jansen@cwi.nl>
parents:
3006
diff
changeset
|
65 kDragControlIndicator = 1 |
|
2f837d824120
Regenerated because of minor changes in universal headers
Jack Jansen <jack.jansen@cwi.nl>
parents:
3006
diff
changeset
|
66 useWFont = 8 |
|
2f837d824120
Regenerated because of minor changes in universal headers
Jack Jansen <jack.jansen@cwi.nl>
parents:
3006
diff
changeset
|
67 inLabel = 1 |
|
2f837d824120
Regenerated because of minor changes in universal headers
Jack Jansen <jack.jansen@cwi.nl>
parents:
3006
diff
changeset
|
68 inMenu = 2 |
|
2f837d824120
Regenerated because of minor changes in universal headers
Jack Jansen <jack.jansen@cwi.nl>
parents:
3006
diff
changeset
|
69 inTriangle = 4 |
|
2f837d824120
Regenerated because of minor changes in universal headers
Jack Jansen <jack.jansen@cwi.nl>
parents:
3006
diff
changeset
|
70 inButton = 10 |
|
2f837d824120
Regenerated because of minor changes in universal headers
Jack Jansen <jack.jansen@cwi.nl>
parents:
3006
diff
changeset
|
71 inCheckBox = 11 |
|
2f837d824120
Regenerated because of minor changes in universal headers
Jack Jansen <jack.jansen@cwi.nl>
parents:
3006
diff
changeset
|
72 inUpButton = 20 |
|
2f837d824120
Regenerated because of minor changes in universal headers
Jack Jansen <jack.jansen@cwi.nl>
parents:
3006
diff
changeset
|
73 inDownButton = 21 |
|
2f837d824120
Regenerated because of minor changes in universal headers
Jack Jansen <jack.jansen@cwi.nl>
parents:
3006
diff
changeset
|
74 inPageUp = 22 |
|
2f837d824120
Regenerated because of minor changes in universal headers
Jack Jansen <jack.jansen@cwi.nl>
parents:
3006
diff
changeset
|
75 inPageDown = 23 |
|
2f837d824120
Regenerated because of minor changes in universal headers
Jack Jansen <jack.jansen@cwi.nl>
parents:
3006
diff
changeset
|
76 inThumb = 129 |
|
2723
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
77 kNoHiliteControlPart = 0 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
78 kInLabelControlPart = 1 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
79 kInMenuControlPart = 2 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
80 kInTriangleControlPart = 4 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
81 kInButtonControlPart = 10 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
82 kInCheckBoxControlPart = 11 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
83 kInUpButtonControlPart = 20 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
84 kInDownButtonControlPart = 21 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
85 kInPageUpControlPart = 22 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
86 kInPageDownControlPart = 23 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
87 kInIndicatorControlPart = 129 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
88 kReservedControlPart = 254 |
|
a0fc94b3bb21
Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2720
diff
changeset
|
89 kControlInactiveControlPart = 255 |
