1 # These are inline-routines/defines, so we do them "by hand"
4 f
= Method(CGrafPtr
, 'GetWindowPort',
5 (WindowRef
, 'theWindow', InMode
),
9 f
= Method(void
, 'SetPortWindowPort',
10 (WindowRef
, 'theWindow', InMode
),
14 f
= Method(short
, 'GetWindowKind',
15 (WindowRef
, 'theWindow', InMode
),
19 f
= Method(void
, 'SetWindowKind',
20 (WindowRef
, 'theWindow', InMode
),
21 (short
, 'wKind', InMode
),
26 f
= Method(Boolean
, 'IsWindowVisible',
27 (WindowRef
, 'theWindow', InMode
),
31 f
= Method(Boolean
, 'IsWindowHilited',
32 (WindowRef
, 'theWindow', InMode
),
36 f
= Method(Boolean
, 'GetWindowGoAwayFlag',
37 (WindowRef
, 'theWindow', InMode
),
41 f
= Method(Boolean
, 'GetWindowZoomFlag',
42 (WindowRef
, 'theWindow', InMode
),
46 f
= Method(void
, 'GetWindowStructureRgn',
47 (WindowRef
, 'theWindow', InMode
),
48 (RgnHandle
, 'r', InMode
),
52 f
= Method(void
, 'GetWindowContentRgn',
53 (WindowRef
, 'theWindow', InMode
),
54 (RgnHandle
, 'r', InMode
),
58 f
= Method(void
, 'GetWindowUpdateRgn',
59 (WindowRef
, 'theWindow', InMode
),
60 (RgnHandle
, 'r', InMode
),
64 f
= Method(short
, 'GetWindowTitleWidth',
65 (WindowRef
, 'theWindow', InMode
),
69 f
= Method(ExistingWindowPtr
, 'GetNextWindow',
70 (WindowRef
, 'theWindow', InMode
),
74 f
= Method(void
, 'GetWindowStandardState',
75 (WindowRef
, 'theWindow', InMode
),
80 f
= Method(void
, 'GetWindowUserState',
81 (WindowRef
, 'theWindow', InMode
),
87 f
= Method(void
, 'SetWindowStandardState',
88 (WindowRef
, 'theWindow', InMode
),
93 f
= Method(void
, 'SetWindowUserState',
94 (WindowRef
, 'theWindow', InMode
),
99 f
= Method(Handle
, 'GetWindowDataHandle',
100 (WindowRef
, 'theWindow', InMode
),
103 f
= Method(void
, 'SetWindowDataHandle',
104 (WindowRef
, 'theWindow', InMode
),
105 (Handle
, 'data', InMode
),
109 # These have Mac prefixed to their name in the 3.1 universal headers,
110 # so we add the old/real names by hand.
111 f
= Method(void
, 'CloseWindow',
112 (WindowPtr
, 'theWindow', InMode
),
116 f
= Function(short
, 'FindWindow',
117 (Point
, 'thePoint', InMode
),
118 (ExistingWindowPtr
, 'theWindow', OutMode
),
122 f
= Method(void
, 'MoveWindow',
123 (WindowPtr
, 'theWindow', InMode
),
124 (short
, 'hGlobal', InMode
),
125 (short
, 'vGlobal', InMode
),
126 (Boolean
, 'front', InMode
),
130 f
= Method(void
, 'ShowWindow',
131 (WindowPtr
, 'theWindow', InMode
),