This commit was manufactured by cvs2svn to create tag 'r221'.
[python/dscho.git] / Mac / Modules / win / winedit.py
blobb1e27c356bc1c69835bf074ce839abf6b583098b
1 # These are inline-routines/defines, so we do them "by hand"
4 f = Method(Boolean, 'IsWindowVisible',
5 (WindowRef, 'theWindow', InMode),
7 methods.append(f)
9 f = Method(Boolean, 'GetWindowZoomFlag',
10 (WindowRef, 'theWindow', InMode),
11 condition='#if !TARGET_API_MAC_CARBON'
13 methods.append(f)
15 f = Method(void, 'GetWindowStructureRgn',
16 (WindowRef, 'theWindow', InMode),
17 (RgnHandle, 'r', InMode),
19 methods.append(f)
21 f = Method(void, 'GetWindowContentRgn',
22 (WindowRef, 'theWindow', InMode),
23 (RgnHandle, 'r', InMode),
25 methods.append(f)
27 f = Method(void, 'GetWindowUpdateRgn',
28 (WindowRef, 'theWindow', InMode),
29 (RgnHandle, 'r', InMode),
31 methods.append(f)
33 f = Method(short, 'GetWindowTitleWidth',
34 (WindowRef, 'theWindow', InMode),
35 condition='#if !TARGET_API_MAC_CARBON'
37 methods.append(f)
39 f = Method(ExistingWindowPtr, 'GetNextWindow',
40 (WindowRef, 'theWindow', InMode),
42 methods.append(f)
44 # These have Mac prefixed to their name in the 3.1 universal headers,
45 # so we add the old/real names by hand.
46 f = Method(void, 'CloseWindow',
47 (WindowPtr, 'theWindow', InMode),
48 condition='#if !TARGET_API_MAC_CARBON'
50 methods.append(f)
52 f = Function(short, 'FindWindow',
53 (Point, 'thePoint', InMode),
54 (ExistingWindowPtr, 'theWindow', OutMode),
56 functions.append(f)
58 f = Method(void, 'MoveWindow',
59 (WindowPtr, 'theWindow', InMode),
60 (short, 'hGlobal', InMode),
61 (short, 'vGlobal', InMode),
62 (Boolean, 'front', InMode),
64 methods.append(f)
66 f = Method(void, 'ShowWindow',
67 (WindowPtr, 'theWindow', InMode),
69 methods.append(f)