mirror of
https://github.com/python/cpython.git
synced 2025-07-28 21:55:21 +00:00

TARGET_API_MAC_OS8 (or !TARGET_API_MAC_CARBON) is gone. Also some TARGET_API_MAC_OSX conditional code is gone, because it is no longer used on OSX-only Python (only in MacPython-OS9).
52 lines
1 KiB
Python
52 lines
1 KiB
Python
# These are inline-routines/defines, so we do them "by hand"
|
|
#
|
|
|
|
f = Method(Boolean, 'IsWindowVisible',
|
|
(WindowRef, 'theWindow', InMode),
|
|
)
|
|
methods.append(f)
|
|
|
|
f = Method(void, 'GetWindowStructureRgn',
|
|
(WindowRef, 'theWindow', InMode),
|
|
(RgnHandle, 'r', InMode),
|
|
)
|
|
methods.append(f)
|
|
|
|
f = Method(void, 'GetWindowContentRgn',
|
|
(WindowRef, 'theWindow', InMode),
|
|
(RgnHandle, 'r', InMode),
|
|
)
|
|
methods.append(f)
|
|
|
|
f = Method(void, 'GetWindowUpdateRgn',
|
|
(WindowRef, 'theWindow', InMode),
|
|
(RgnHandle, 'r', InMode),
|
|
)
|
|
methods.append(f)
|
|
|
|
f = Method(ExistingWindowPtr, 'GetNextWindow',
|
|
(WindowRef, 'theWindow', InMode),
|
|
)
|
|
methods.append(f)
|
|
|
|
f = Function(short, 'FindWindow',
|
|
(Point, 'thePoint', InMode),
|
|
(ExistingWindowPtr, 'theWindow', OutMode),
|
|
)
|
|
functions.append(f)
|
|
|
|
f = Method(void, 'MoveWindow',
|
|
(WindowPtr, 'theWindow', InMode),
|
|
(short, 'hGlobal', InMode),
|
|
(short, 'vGlobal', InMode),
|
|
(Boolean, 'front', InMode),
|
|
)
|
|
methods.append(f)
|
|
|
|
f = Method(void, 'ShowWindow',
|
|
(WindowPtr, 'theWindow', InMode),
|
|
)
|
|
methods.append(f)
|
|
|
|
|
|
|