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
),
43 condition
='#if !TARGET_API_MAC_CARBON'
47 f
= Method(void
, 'GetWindowStructureRgn',
48 (WindowRef
, 'theWindow', InMode
),
49 (RgnHandle
, 'r', InMode
),
50 condition
='#if !TARGET_API_MAC_CARBON'
54 f
= Method(void
, 'GetWindowContentRgn',
55 (WindowRef
, 'theWindow', InMode
),
56 (RgnHandle
, 'r', InMode
),
57 condition
='#if !TARGET_API_MAC_CARBON'
61 f
= Method(void
, 'GetWindowUpdateRgn',
62 (WindowRef
, 'theWindow', InMode
),
63 (RgnHandle
, 'r', InMode
),
64 condition
='#if !TARGET_API_MAC_CARBON'
68 f
= Method(short
, 'GetWindowTitleWidth',
69 (WindowRef
, 'theWindow', InMode
),
70 condition
='#if !TARGET_API_MAC_CARBON'
74 f
= Method(ExistingWindowPtr
, 'GetNextWindow',
75 (WindowRef
, 'theWindow', InMode
),
79 f
= Method(void
, 'GetWindowStandardState',
80 (WindowRef
, 'theWindow', InMode
),
85 f
= Method(void
, 'GetWindowUserState',
86 (WindowRef
, 'theWindow', InMode
),
92 f
= Method(void
, 'SetWindowStandardState',
93 (WindowRef
, 'theWindow', InMode
),
98 f
= Method(void
, 'SetWindowUserState',
99 (WindowRef
, 'theWindow', InMode
),
104 # These have Mac prefixed to their name in the 3.1 universal headers,
105 # so we add the old/real names by hand.
106 f
= Method(void
, 'CloseWindow',
107 (WindowPtr
, 'theWindow', InMode
),
108 condition
='#if !TARGET_API_MAC_CARBON'
112 f
= Function(short
, 'FindWindow',
113 (Point
, 'thePoint', InMode
),
114 (ExistingWindowPtr
, 'theWindow', OutMode
),
118 f
= Method(void
, 'MoveWindow',
119 (WindowPtr
, 'theWindow', InMode
),
120 (short
, 'hGlobal', InMode
),
121 (short
, 'vGlobal', InMode
),
122 (Boolean
, 'front', InMode
),
126 f
= Method(void
, 'ShowWindow',
127 (WindowPtr
, 'theWindow', InMode
),